8 // LUtimesNano is used to change access and modification time of the specified path.
9 // It's used for symbol link file because syscall.UtimesNano doesn't support a NOFOLLOW flag atm.
10 func LUtimesNano(path string, ts []syscall.Timespec) error {
11 // These are not currently available in syscall
13 atSymLinkNoFollow := 0x100
16 _path, err := syscall.BytePtrFromString(path)
21 if _, _, err := syscall.Syscall6(syscall.SYS_UTIMENSAT, uintptr(atFdCwd), uintptr(unsafe.Pointer(_path)), uintptr(unsafe.Pointer(&ts[0])), uintptr(atSymLinkNoFollow), 0, 0); err != 0 && err != syscall.ENOSYS {