github.com/anthropics/anthropic-sdk-go@v1.70.1/internal/filestore/filestore_ctime_other.go (about)

     1  //go:build !linux && !darwin && !freebsd && !netbsd && !openbsd && !dragonfly
     2  
     3  package filestore
     4  
     5  import "os"
     6  
     7  // ctimeNs is 0 here: identity degrades to (mtime, size), so an
     8  // mtime-preserving rewrite (rsync -t, cp -p) is served the stale hash.
     9  func ctimeNs(os.FileInfo) int64 { return 0 }