mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
AddAllFromDirectory does not ignore files locked by other process #388
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 @CaledoniaProject on GitHub (Jan 21, 2020).
I'm using the following code to compress a directory:
When one of the files is not readable, it throws exception.
How can I let it continue and ignore files that can't be read?
@turbolocust commented on GitHub (Jan 21, 2020):
Use the AddEntry method instead.
Take a look at the actual implementation: