//go:build linux // +build linux package store import ( "os" "syscall" "time" ) func timespecToTime(ts syscall.Timespec) time.Time { return time.Unix(ts.Sec, ts.Nsec) } func atime(fi os.FileInfo) time.Time { return timespecToTime(fi.Sys().(*syscall.Stat_t).Atim) }