mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-03 21:29:23 +00:00
[PR #375] [MERGED] Add branching and specific SharpCompress calls for solid vs non-solid archives in order to extract solid archives properly. #526
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/SabreTools/BinaryObjectScanner/pull/375
Author: @HeroponRikiBestest
Created: 7/12/2025
Status: ✅ Merged
Merged: 7/12/2025
Merged by: @mnadareski
Base:
master← Head:solid-archive-speedfix📝 Commits (6)
ecd99b1Add branching for solid vs non-solid archives in order to extract solid archives properly.26c1e88Change comments on sevenzip, reuse archive-level solid flag for rardf38bf3Fully simplify identifying if archive is solid.eca101bFinish implementing first round of feedback.6460684Fix second round of formatting issues.c37dbc7Final formatting fixes.📊 Changes
2 files changed (+144 additions, -60 deletions)
View changed files
📝
BinaryObjectScanner/FileType/RAR.cs(+72 -30)📝
BinaryObjectScanner/FileType/SevenZip.cs(+72 -30)📄 Description
At the moment, BOS will practically speaking freeze on any solid 7z or RAR file, as they need to be decompressed sequentially in order for extraction to occur in any reasonable time. This PR adds pathing and specific code to detect solid vs non-solid 7Z and RAR archives, and extract them accordingly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.