src/internal/syscall/unix/at_js.go
raw| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package unix |
| 6 | |
| 7 | const ( |
| 8 | // UTIME_OMIT is the sentinel value to indicate that a time value should not |
| 9 | // be changed. It is useful for example to indicate for example with UtimesNano |
| 10 | // to avoid changing AccessTime or ModifiedTime. |
| 11 | // Its value must match syscall/fs_js.go |
| 12 | UTIME_OMIT = -0x2 |
| 13 | ) |