mirror of
https://github.com/status-im/status-go.git
synced 2025-01-11 07:07:24 +00:00
13 lines
181 B
Go
13 lines
181 B
Go
package missinggo
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
"time"
|
|
)
|
|
|
|
func fileInfoAccessTime(fi os.FileInfo) time.Time {
|
|
sec := fi.Sys().(*syscall.Dir).Atime
|
|
return time.Unix(int64(sec), 0)
|
|
}
|