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

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

📋 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: masterHead: update-usage


📝 Commits (2)

  • c48409c Update USAGE.md
  • 97cdda8 Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/909 **Author:** [@Morilli](https://github.com/Morilli) **Created:** 3/22/2025 **Status:** ✅ Merged **Merged:** 3/24/2025 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `update-usage` --- ### 📝 Commits (2) - [`c48409c`](https://github.com/adamhathcock/sharpcompress/commit/c48409c9038786bb65fc3a106adaf1a738ec5840) Update USAGE.md - [`97cdda8`](https://github.com/adamhathcock/sharpcompress/commit/97cdda866337ead7a198ba3adf8f340a5f4d0c65) Merge branch 'master' into update-usage ### 📊 Changes **1 file changed** (+19 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `USAGE.md` (+19 -3) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:20:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1335