Implement system.LUtimesNano and system.UtimesNano. The latter might be removed in future because it's basically same as os.Chtimes. That's why the test is mainly focusing LUtimesNano. Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys) Upstream-commit: 1c90a4dd9a83526ca3837ab9231ff6a9af07e072 Component: engine
14 lines
251 B
Go
14 lines
251 B
Go
// +build !linux,!freebsd
|
|
|
|
package system
|
|
|
|
import "syscall"
|
|
|
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
|
return ErrNotSupportedPlatform
|
|
}
|
|
|
|
func UtimesNano(path string, ts []syscall.Timespec) error {
|
|
return ErrNotSupportedPlatform
|
|
}
|