12 lines
202 B
Go
12 lines
202 B
Go
|
package archive
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func getLastAccess(stat *syscall.Stat_t) syscall.Timespec {
|
||
|
return stat.Atim
|
||
|
}
|
||
|
|
||
|
func getLastModification(stat *syscall.Stat_t) syscall.Timespec {
|
||
|
return stat.Mtim
|
||
|
}
|