mirror of https://github.com/perkeep/perkeep.git
19 lines
233 B
Go
19 lines
233 B
Go
|
//+build darwin
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|