2014-02-06 14:13:03 -08:00
|
|
|
// +build !linux
|
2014-01-31 03:16:42 -07:00
|
|
|
|
2013-11-28 00:22:47 -02:00
|
|
|
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
|
|
|
|
}
|
2013-12-13 15:43:50 +01:00
|
|
|
|
|
|
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
2014-02-06 14:13:03 -08:00
|
|
|
return ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
func UtimesNano(path string, ts []syscall.Timespec) error {
|
|
|
|
return ErrNotImplemented
|
2013-12-13 15:43:50 +01:00
|
|
|
}
|
2014-02-14 14:24:37 +01:00
|
|
|
|
|
|
|
func Lgetxattr(path string, attr string) ([]byte, error) {
|
|
|
|
return nil, ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
func Lsetxattr(path string, attr string, data []byte, flags int) error {
|
|
|
|
return ErrNotImplemented
|
|
|
|
}
|