node: Correctly compare times
This commit is contained in:
parent
69fcb604c8
commit
82ded35706
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue