mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d19e998e7a
Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
29 lines
604 B
Go
29 lines
604 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
|
|
}
|
|
|
|
func Lgetxattr(path string, attr string) ([]byte, error) {
|
|
return nil, ErrNotImplemented
|
|
}
|
|
|
|
func Lsetxattr(path string, attr string, data []byte, flags int) error {
|
|
return ErrNotImplemented
|
|
}
|