mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Option to not follow symlinks #350
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Soundman32 on GitHub (Apr 15, 2019).
It appears from my testing that if a folder (Linux) contains a symlink, then the file pointed to by the symlink is included in an archive. If the file linked to doesn't exist, then an exception is thrown.
There should be an option to include the symlink itself, so that the contents of the actual file is not included in the archive.
@adamhathcock commented on GitHub (Apr 15, 2019):
The default behavior of listing directories in .NET Core must be following symlinks.
Sounds like a good PR to override this.