mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
3dfc910d77
Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume.charmes@docker.com> (github: creack)
21 lines
409 B
Go
21 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
|
|
}
|