From a031b83a09a8628435317a03f199cdc18b78262f Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 1 Nov 2017 11:24:59 -0400 Subject: Initial checkin from CRI-O repo Signed-off-by: Matthew Heon --- oci/finished_32.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 oci/finished_32.go (limited to 'oci/finished_32.go') diff --git a/oci/finished_32.go b/oci/finished_32.go new file mode 100644 index 000000000..3f24b1baa --- /dev/null +++ b/oci/finished_32.go @@ -0,0 +1,14 @@ +// +build arm 386 + +package oci + +import ( + "os" + "syscall" + "time" +) + +func getFinishedTime(fi os.FileInfo) time.Time { + st := fi.Sys().(*syscall.Stat_t) + return time.Unix(int64(st.Ctim.Sec), int64(st.Ctim.Nsec)) +} -- cgit v1.2.3-54-g00ecf