containerd/fs
Derek McGowan 88d59d37fa
Update nanosecond diff comparison
Only check content of files if both files have zero nanosecond times.
A zero nanosecond time is considered ambiguous as to whether or
not the timestamp has been truncated by tar. Previously the diff
algorithm was attempting to account for comparisons from a source
to a directory with an applied tar. This condition is no longer
relevant since there is no support for recreating tars directories
which have had a tar extracted. In the case where the older directory
has a truncated timestamp and the newer one does not, this may always
be considered a change. In the case where both are zero, treat the
timestamp as ambiguous and compare content.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-12-26 14:17:03 -08:00
..
fstest Emit unmodified change events for directories 2017-12-04 18:37:00 -08:00
copy_linux.go Add staticcheck linter 2017-11-28 13:05:30 -05:00
copy_test.go fs: Change CopyDir's utimes call to not follow symlinks 2017-05-08 13:16:53 -04:00
copy_unix.go Add staticcheck linter 2017-11-28 13:05:30 -05:00
copy_windows.go Add staticcheck linter 2017-11-28 13:05:30 -05:00
copy.go Add staticcheck linter 2017-11-28 13:05:30 -05:00
diff_test.go Update nanosecond diff comparison 2017-12-26 14:17:03 -08:00
diff_unix.go Add structcheck, unused, and varcheck linters. 2017-11-21 11:14:37 -05:00
diff_windows.go Implement diff.compareSysStat on windows 2017-11-15 14:31:50 -05:00
diff.go Emit unmodified change events for directories 2017-12-04 18:37:00 -08:00
dtype_linux_test.go Update loopback to return error 2017-08-22 16:09:38 -07:00
dtype_linux.go fs: remove fsutils package 2017-05-15 16:33:58 -07:00
dtype_test.go Add solaris build support 2017-08-07 12:40:21 -07:00
du_unix.go Implement btrfs usage 2017-12-04 14:42:21 -08:00
du_windows.go Implement btrfs usage 2017-12-04 14:42:21 -08:00
du.go Implement btrfs usage 2017-12-04 14:42:21 -08:00
hardlink_unix.go Fix hardlinks with unmodified files 2017-04-04 15:00:19 -07:00
hardlink_windows.go Fix hardlinks with unmodified files 2017-04-04 15:00:19 -07:00
hardlink.go Update files based on go lint 2017-10-02 10:15:28 -04:00
path_test.go Add structcheck, unused, and varcheck linters. 2017-11-21 11:14:37 -05:00
path.go Update nanosecond diff comparison 2017-12-26 14:17:03 -08:00
time.go Remove incorrect and unused timespec check 2017-02-03 11:28:06 -08:00