Fix ModTime for directories

This commit is contained in:
Florian Weingarten
2015-05-13 23:11:31 -04:00
parent 396a69886c
commit bace4607bf
3 changed files with 27 additions and 3 deletions
+2 -1
View File
@@ -62,7 +62,8 @@ func (e *entry) equals(other *entry) bool {
if e.fi.ModTime() != other.fi.ModTime() {
fmt.Printf("%s: ModTime does not match\n", e.path)
// TODO: Fix ModTime for directories, return false
// TODO: Fix ModTime for symlinks, return false
// see http://grokbase.com/t/gg/golang-nuts/154wnph4y8/go-nuts-no-way-to-utimes-a-symlink
return true
}