[PR #909] Update USAGE.md to remove problematic extraction example #1340

Open
opened 2026-01-29 22:20:04 +00:00 by claunia · 0 comments
Owner

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.

**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.
claunia added the pull-request label 2026-01-29 22:20:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1340