Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume.charmes@docker.com> (github: creack) Upstream-commit: 3dfc910d7774d57c533b067fbe59d6b24dd803cd Component: engine
22 lines
409 B
Go
22 lines
409 B
Go
// +build !linux
|
|
|
|
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
|
|
}
|