mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #569] [MERGED] Improve how missing parts are handled #1103
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/569
Author: @BrendanGrant
Created: 2/13/2021
Status: ✅ Merged
Merged: 2/14/2021
Merged by: @adamhathcock
Base:
master← Head:improve_how_missing_parts_are_handled📝 Commits (2)
53393e7Supporting reading contents of incomplete files5b86c40Properly 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.