-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
properly handle whiteout opaque dirs when unpacking
#267 If a file in the layer tarball is labeled foo/.wh..wh..opq, that indicates that the existing contents of the directory foo/ should be emptied. We were previously treating this the same as normal whiteout files (e.g. foo/.wh.myfile means delete foo/myfile), which doesn't work properly. With this commit, we're now able to delete a directory and recreate it in the same layer, and have it be unpacked properly. Signed-off-by: Esteban Foronda <[email protected]> Co-authored-by: Aidan Oldershaw <[email protected]>
- Loading branch information
1 parent
17186cf
commit 753290b
Showing
4 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters