mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
10 lines
194 B
Go
10 lines
194 B
Go
|
//go:build netbsd || freebsd || darwin
|
||
|
|
||
|
package http
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func statAtime(sys *syscall.Stat_t) int64 {
|
||
|
return int64(sys.Atimespec.Sec)*1000*1000*1000 + int64(sys.Atimespec.Nsec)
|
||
|
}
|