[PR #569] [MERGED] Improve how missing parts are handled #1103

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/569
Author: @BrendanGrant
Created: 2/13/2021
Status: Merged
Merged: 2/14/2021
Merged by: @adamhathcock

Base: masterHead: improve_how_missing_parts_are_handled


📝 Commits (2)

  • 53393e7 Supporting reading contents of incomplete files
  • 5b86c40 Properly detect if RAR is complete at the end or not

📊 Changes

5 files changed (+16 additions, -7 deletions)

View changed files

📝 src/SharpCompress/Archives/Rar/RarArchive.cs (+3 -2)
📝 src/SharpCompress/Archives/Rar/RarArchiveEntry.cs (+6 -3)
📝 src/SharpCompress/Archives/Rar/RarArchiveEntryFactory.cs (+4 -2)
📝 src/SharpCompress/Common/Rar/Headers/FileHeader.cs (+1 -0)
📝 src/SharpCompress/Readers/ReaderOptions.cs (+2 -0)

📄 Description

I have been doing some work involving processing incomplete RAR files and file sets, and I had to make a few tweaks to make SharpCompress ok with trying to read the partial data and figured they useful enough to share.


🔄 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/569 **Author:** [@BrendanGrant](https://github.com/BrendanGrant) **Created:** 2/13/2021 **Status:** ✅ Merged **Merged:** 2/14/2021 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `improve_how_missing_parts_are_handled` --- ### 📝 Commits (2) - [`53393e7`](https://github.com/adamhathcock/sharpcompress/commit/53393e744e3ed79df30e724774092f86f3b9df0f) Supporting reading contents of incomplete files - [`5b86c40`](https://github.com/adamhathcock/sharpcompress/commit/5b86c40d5b8ff493e701b9b8170b934b6451cc56) Properly detect if RAR is complete at the end or not ### 📊 Changes **5 files changed** (+16 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Archives/Rar/RarArchive.cs` (+3 -2) 📝 `src/SharpCompress/Archives/Rar/RarArchiveEntry.cs` (+6 -3) 📝 `src/SharpCompress/Archives/Rar/RarArchiveEntryFactory.cs` (+4 -2) 📝 `src/SharpCompress/Common/Rar/Headers/FileHeader.cs` (+1 -0) 📝 `src/SharpCompress/Readers/ReaderOptions.cs` (+2 -0) </details> ### 📄 Description I have been doing some work involving processing incomplete RAR files and file sets, and I had to make a few tweaks to make SharpCompress ok with trying to read the partial data and figured they useful enough to share. --- <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:19:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1103