Don't include the atimes since we're comparing two paths stat()ed at
different times, and depending on the
platform/filesystem/mount-options, that may result in two different
atimes, even when the paths refer to the same file.
Thanks to Alexander Barton <alex@barton.de> for tracking down the
problem.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Gabriel Filion <gabster@lelutin.ca>
return False
target_node = top.lresolve(target_vfs_path)
if src_node.mode != target_node.mode \
- or src_node.atime != target_node.atime \
or src_node.mtime != target_node.mtime \
or src_node.ctime != target_node.ctime \
or src_node.hash != target_node.hash:
return self.uid == other.uid \
and self.gid == other.gid \
and self.rdev == other.rdev \
- and self.atime == other.atime \
and self.mtime == other.mtime \
and self.ctime == other.ctime \
and self.user == other.user \