added link to source

This commit is contained in:
Stephen McQuay 2016-12-10 16:12:54 -08:00
parent a8f2df2302
commit 33ad165fbc
No known key found for this signature in database
GPG Key ID: 1ABF428F71BAFC3D
1 changed files with 3 additions and 0 deletions

3
mov.go
View File

@ -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