a41f938cec
As we have seen, dependencies version can prevent the build. We should user lock versions on dependencies that we know work: * Packages are vendored * Add Godep support * Added addtional install step in readme * Fix travis build error
12 lignes
221 o
Go
12 lignes
221 o
Go
package missinggo
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
"time"
|
|
)
|
|
|
|
func fileInfoAccessTime(fi os.FileInfo) time.Time {
|
|
ts := fi.Sys().(*syscall.Win32FileAttributeData).LastAccessTime
|
|
return time.Unix(0, int64(ts.Nanoseconds()))
|
|
}
|