mirror of
https://github.com/mjl-/mox.git
synced 2024-12-28 01:13:47 +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)
|
||
|
}
|