Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume.charmes@docker.com> (github: creack) Upstream-commit: e8740685ceb3ad8637532e7ddffb84ea55d4fc27 Component: engine
22 lines
416 B
Go
22 lines
416 B
Go
// +build !linux !amd64
|
|
|
|
package archive
|
|
|
|
import "syscall"
|
|
|
|
func getLastAccess(stat *syscall.Stat_t) syscall.Timespec {
|
|
return stat.Atimespec
|
|
}
|
|
|
|
func getLastModification(stat *syscall.Stat_t) syscall.Timespec {
|
|
return stat.Mtimespec
|
|
}
|
|
|
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func UtimesNano(path string, ts []syscall.Timespec) error {
|
|
return ErrNotImplemented
|
|
}
|