mirror of
https://github.com/restic/restic.git
synced 2026-06-04 07:59:43 +00:00
Fix ModTime for directories
This commit is contained in:
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user