added link to source
This commit is contained in:
parent
a8f2df2302
commit
33ad165fbc
3
mov.go
3
mov.go
@ -23,6 +23,9 @@ func Modified(file io.ReadSeeker) (time.Time, error) {
|
||||
return m, err
|
||||
}
|
||||
|
||||
// times seeks around in file and finds Created and Modified times.
|
||||
//
|
||||
// This was transcibed from http://stackoverflow.com/a/21395803
|
||||
func times(file io.ReadSeeker) (time.Time, time.Time, error) {
|
||||
var c, m time.Time
|
||||
var i int64
|
||||
|
Loading…
Reference in New Issue
Block a user