summaryrefslogtreecommitdiff
path: root/oci/finished_32.go
diff options
context:
space:
mode:
Diffstat (limited to 'oci/finished_32.go')
-rw-r--r--oci/finished_32.go14
1 files changed, 14 insertions, 0 deletions
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))
+}