14 lines
206 B
Go
14 lines
206 B
Go
|
package system
|
||
|
|
||
|
import (
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func GetLastAccess(stat *syscall.Stat_t) syscall.Timespec {
|
||
|
return stat.Atim
|
||
|
}
|
||
|
|
||
|
func GetLastModification(stat *syscall.Stat_t) syscall.Timespec {
|
||
|
return stat.Mtim
|
||
|
}
|