mirror of
https://github.com/restic/restic.git
synced 2025-10-28 00:29:08 +00:00
Add decrypt, refactor
This commit is contained in:
@@ -53,14 +53,17 @@ func walk(dir string) <-chan *entry {
|
||||
|
||||
func (e *entry) equals(other *entry) bool {
|
||||
if e.path != other.path {
|
||||
fmt.Printf("path does not match\n")
|
||||
return false
|
||||
}
|
||||
|
||||
if e.fi.Mode() != other.fi.Mode() {
|
||||
fmt.Printf("mode does not match\n")
|
||||
return false
|
||||
}
|
||||
|
||||
if e.fi.ModTime() != other.fi.ModTime() {
|
||||
fmt.Printf("ModTime does not match\n")
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user