You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
221 B
12 lines
221 B
//go:build linux
|
|
|
|
package fuse
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
// getAtimeNano returns the access time in nanoseconds for Linux systems
|
|
func getAtimeNano(stat *syscall.Stat_t) int64 {
|
|
return stat.Atim.Sec*1e9 + stat.Atim.Nsec
|
|
}
|