mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #909] [MERGED] Update USAGE.md to remove problematic extraction example #1335
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?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/909
Author: @Morilli
Created: 3/22/2025
Status: ✅ Merged
Merged: 3/24/2025
Merged by: @adamhathcock
Base:
master← Head:update-usage📝 Commits (2)
c48409cUpdate USAGE.md97cdda8Merge branch 'master' into update-usage📊 Changes
1 file changed (+19 additions, -3 deletions)
View changed files
📝
USAGE.md(+19 -3)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.