mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
node: Correctly compare times
This commit is contained in:
parent
69fcb604c8
commit
82ded35706
@ -385,13 +385,13 @@ func (node Node) Equals(other Node) bool {
|
||||
if node.Mode != other.Mode {
|
||||
return false
|
||||
}
|
||||
if node.ModTime != other.ModTime {
|
||||
if !node.ModTime.Equal(other.ModTime) {
|
||||
return false
|
||||
}
|
||||
if node.AccessTime != other.AccessTime {
|
||||
if !node.AccessTime.Equal(other.AccessTime) {
|
||||
return false
|
||||
}
|
||||
if node.ChangeTime != other.ChangeTime {
|
||||
if !node.ChangeTime.Equal(other.ChangeTime) {
|
||||
return false
|
||||
}
|
||||
if node.UID != other.UID {
|
||||
|
Loading…
Reference in New Issue
Block a user