-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Avoid cleaning paths in whiteout transformations
Prior to this PR, when a tar file contains an entry prefixed with `./` that is processed by a whiteout transformation, the `./` prefix is lost. This loss of the prefix was due to the use of `filepath` functions that clean the resulting path. Instead, use `filepath.Split` and manual concatenation with filepath.Seperator` to avoid the clean.
- Loading branch information
Showing
4 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
pkg/mutate/testdata/Test_WhiteoutRoundTrip/overlayfs.golden
Binary file not shown.
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