14 lines
229 B
Go
14 lines
229 B
Go
|
// +build !linux
|
||
|
|
||
|
package system
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func GetLastAccess(stat *syscall.Stat_t) syscall.Timespec {
|
||
|
return stat.Atimespec
|
||
|
}
|
||
|
|
||
|
func GetLastModification(stat *syscall.Stat_t) syscall.Timespec {
|
||
|
return stat.Mtimespec
|
||
|
}
|