From 4ea26aace4d7fff52c52b438bd6df03645834b4f Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 9 Feb 2018 10:19:25 -0600 Subject: libpod/finished_amd64.go -> libpod/finished64.go Rename finished_amd64 to finished64.go to more accurately reflect that it covers all 64bit arches. Also, bumped the EPOCH for gitvalidation to speed up validations. Signed-off-by: baude Closes: #318 Approved by: mheon --- libpod/finished64.go | 16 ++++++++++++++++ libpod/finished_amd64.go | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 libpod/finished64.go delete mode 100644 libpod/finished_amd64.go (limited to 'libpod') diff --git a/libpod/finished64.go b/libpod/finished64.go new file mode 100644 index 000000000..11dbc9181 --- /dev/null +++ b/libpod/finished64.go @@ -0,0 +1,16 @@ +// +build !arm,!386 + +package libpod + +import ( + "os" + "syscall" + "time" +) + +// Get the created time of a file +// Only works on 64-bit OSes +func getFinishedTime(fi os.FileInfo) time.Time { + st := fi.Sys().(*syscall.Stat_t) + return time.Unix(st.Ctim.Sec, st.Ctim.Nsec) +} diff --git a/libpod/finished_amd64.go b/libpod/finished_amd64.go deleted file mode 100644 index 11dbc9181..000000000 --- a/libpod/finished_amd64.go +++ /dev/null @@ -1,16 +0,0 @@ -// +build !arm,!386 - -package libpod - -import ( - "os" - "syscall" - "time" -) - -// Get the created time of a file -// Only works on 64-bit OSes -func getFinishedTime(fi os.FileInfo) time.Time { - st := fi.Sys().(*syscall.Stat_t) - return time.Unix(st.Ctim.Sec, st.Ctim.Nsec) -} -- cgit v1.2.3-54-g00ecf