blob: 9fedbfb7a38bd4870e86f4764fb7d0dfe2efb0ed (
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(st.Ctim.Sec, st.Ctim.Nsec)
}
|