-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oci: improve layer whiteout handling
Add support for opaque directories and generally improve our path handling. Add some very simple tests. There's a major outstanding issue here: the OCI spec says that .wh. files SHOULD come before the files that they affect, and that they only affect previous layers. If we do happen to get a whiteout after a file that was added in the same layer, we're going to delete it, though. I have a semi-crazy idea involving a hashset containing weak references (or pinned pointers)...
- Loading branch information
1 parent
09c5167
commit 9c1b0dc
Showing
2 changed files
with
105 additions
and
23 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