added link to source
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user