-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tarfs: resolve symlinks when adding new files
Previously, the package didn't consider ordering between directories, their children, and symlinks. For example, given the following archive: - z/ - z/b - a → z If the archive producer walks and then sorts the input files then deduplicates by inode, the resulting order is: - a → z - a/b - z/ These edge cases are now handled, along with other edge cases that arise from resolving symlinks. Signed-off-by: Hank Donnay <[email protected]>
- Loading branch information
Showing
2 changed files
with
113 additions
and
5 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