YTSFlix_Go/vendor/github.com/anacrolix/missinggo/atime.go

12 lines
187 B
Go
Raw Normal View History

2018-11-04 14:58:15 +00:00
package missinggo
import (
"os"
"time"
)
// Extracts the access time from the FileInfo internals.
func FileInfoAccessTime(fi os.FileInfo) time.Time {
return fileInfoAccessTime(fi)
}