1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/archive
Alexander Larsson 10cd902f90 Fix change detection when applying tar layers
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.
2013-12-13 15:46:41 +01:00
..
archive.go
archive_test.go
changes.go Fix change detection when applying tar layers 2013-12-13 15:46:41 +01:00
changes_test.go
diff.go archive: Implement ApplyLayer directly 2013-12-13 15:43:50 +01:00
MAINTAINERS
stat_darwin.go archive: Implement ApplyLayer directly 2013-12-13 15:43:50 +01:00
stat_linux.go archive: Implement ApplyLayer directly 2013-12-13 15:43:50 +01:00