mirror of
https://github.com/mjl-/mox.git
synced 2024-12-28 01:13:47 +03:00
10 lines
187 B
Go
10 lines
187 B
Go
|
//go:build !netbsd && !freebsd && !darwin
|
||
|
|
||
|
package http
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func statAtime(sys *syscall.Stat_t) int64 {
|
||
|
return int64(sys.Atim.Sec)*1000*1000*1000 + int64(sys.Atim.Nsec)
|
||
|
}
|