diff options
Diffstat (limited to 'pkg/ctime')
-rw-r--r-- | pkg/ctime/ctime_linux.go (renamed from pkg/ctime/ctime_linux_32.go) | 2 | ||||
-rw-r--r-- | pkg/ctime/ctime_linux_64.go | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/pkg/ctime/ctime_linux_32.go b/pkg/ctime/ctime_linux.go index 00c1a9a8e..e83269d49 100644 --- a/pkg/ctime/ctime_linux_32.go +++ b/pkg/ctime/ctime_linux.go @@ -1,4 +1,4 @@ -// +build arm,linux 386,linux +// +build linux package ctime diff --git a/pkg/ctime/ctime_linux_64.go b/pkg/ctime/ctime_linux_64.go deleted file mode 100644 index 1251c1ded..000000000 --- a/pkg/ctime/ctime_linux_64.go +++ /dev/null @@ -1,14 +0,0 @@ -// +build !arm,!386,linux - -package ctime - -import ( - "os" - "syscall" - "time" -) - -func created(fi os.FileInfo) time.Time { - st := fi.Sys().(*syscall.Stat_t) - return time.Unix(st.Ctim.Sec, st.Ctim.Nsec) -} |