2014-02-06 17:13:03 -05:00
|
|
|
// +build !linux
|
2014-01-31 05:16:42 -05:00
|
|
|
|
2013-11-27 21:22:47 -05: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 09:43:50 -05:00
|
|
|
|
|
|
|
func LUtimesNano(path string, ts []syscall.Timespec) error {
|
2014-02-06 17:13:03 -05:00
|
|
|
return ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
|
|
|
func UtimesNano(path string, ts []syscall.Timespec) error {
|
|
|
|
return ErrNotImplemented
|
2013-12-13 09:43:50 -05:00
|
|
|
}
|