mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #909] Update USAGE.md to remove problematic extraction example #1340
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?
Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/909
State: closed
Merged: Yes
I've modified the "extract all files" example to use
IReader.ExtractAllEntries. As per the added comment this must be done for solid archives and probably has better performance compared to iterating over entries in non-sequential order for other archives too.I've added a new example for iterating over entries that doesn't extract them.