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 b6ef4bc952 archive.ChagesDir() - faster and better implementation
This replaces the current version with the latest version from the
dm branch. Advantages in this version:

We only scan each directory tree once, which means less i/o and less chance
of container changes inbetween the two scans causing inconsistencies.

We avoid comparing some fields for change detection:

* Inode
* size-in-blocks
  These can change during a copy operation (e.g. in the dummy backend)
  without needing to actually reflect a change in content or metadata.

* Ctime
  Any copy operation will create a new Ctime value, and there is no
  API to change it to the "source" value.

* size for directories
  The size of a directory doesn't have to be the same just because you
  recreated the same content as another director. Internal details in
  the filesystem may make these different with no "real" change.
2013-11-11 14:51:19 +01:00
..
archive.go Partial merge of devmapper/ in order to integrate it as a backend 2013-11-01 04:24:17 +00:00
archive_test.go Partial merge of devmapper/ in order to integrate it as a backend 2013-11-01 04:24:17 +00:00
changes.go archive.ChagesDir() - faster and better implementation 2013-11-11 14:51:19 +01:00
diff.go Merge pull request #6 from alexlarsson/fix-ApplyLayer-remove 2013-11-08 11:46:55 -08:00
MAINTAINERS Move archive.go to sub package 2013-10-31 16:57:45 -07:00