summaryrefslogtreecommitdiff
path: root/oci/finished_32.go
blob: 3f24b1baacbddd9be8d10bb52a3894f2bf681326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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))
}