mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7e420ad850
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
14 lines
393 B
Go
14 lines
393 B
Go
package system
|
|
|
|
import "syscall"
|
|
|
|
// LUtimesNano is not supported by darwin platform.
|
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
|
return ErrNotSupportedPlatform
|
|
}
|
|
|
|
// UtimesNano is used to change access and modification time of path.
|
|
// it can't be used for symbol link file.
|
|
func UtimesNano(path string, ts []syscall.Timespec) error {
|
|
return syscall.UtimesNano(path, ts)
|
|
}
|