mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 06:20:48 +02:00
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
13 lines
221 B
Go
13 lines
221 B
Go
//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
|
|
}
|