2014-06-17 23:19:42 +00:00
|
|
|
package system
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
2015-07-28 16:13:12 +00:00
|
|
|
// LUtimesNano is not supported by darwin platform.
|
2014-06-17 23:19:42 +00:00
|
|
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
|
|
|
return ErrNotSupportedPlatform
|
|
|
|
}
|
|
|
|
|
2015-07-28 16:13:12 +00:00
|
|
|
// UtimesNano is used to change access and modification time of path.
|
|
|
|
// it can't be used for symbol link file.
|
2014-06-17 23:19:42 +00:00
|
|
|
func UtimesNano(path string, ts []syscall.Timespec) error {
|
|
|
|
return syscall.UtimesNano(path, ts)
|
|
|
|
}
|