perkeep/cmd/pk-put/stat_darwin.go

17 lines
216 B
Go

package main
import (
"syscall"
)
func init() {
cleanSysStat = func(si interface{}) interface{} {
st, ok := si.(*syscall.Stat_t)
if !ok {
return si
}
st.Atimespec = syscall.Timespec{}
return st
}
}