Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

267 B
Raw Blame
//go:build !linux && !windows

package fuse

import (
	"syscall"
)

// getAtimeNano returns the access time in nanoseconds for non-Linux systems (macOS, BSD, etc.)
func getAtimeNano(stat *syscall.Stat_t) int64 {
	return stat.Atimespec.Sec*1e9 + stat.Atimespec.Nsec
}