mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
10cd902f90
The default gnu tar format has no sub-second precision mtime support, and the golang tar writer currently doesn't support that either. This means if we export the changes from a container we will not get zeron in the sub-second precision field when the change is applied. This means we can't compare that to the original without getting a spurious change. So, we detect this case by treating a case where the seconds match and either of the two nanoseconds are zero as equal. |
||
---|---|---|
.. | ||
archive.go | ||
archive_test.go | ||
changes.go | ||
changes_test.go | ||
diff.go | ||
MAINTAINERS | ||
stat_darwin.go | ||
stat_linux.go |