[PR #1040] [CLOSED] Add multi-threading support for File based single volume Zips and Rars #1462

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/1040
Author: @adamhathcock
Created: 11/27/2025
Status: Closed

Base: masterHead: adam/multi-threaded


📝 Commits (8)

  • 4536fdd intermediate commit: add zip/filepart that only deals with fileinfo
  • 1984da6 Merge remote-tracking branch 'origin/master' into adam/multi-threaded
  • af7e270 added SupportsMultiThreading flag for File based Zips
  • 8d2463f More test fixes and fmt
  • c116953 add multi-threading test with fix
  • 5b2030b add SupportsMultiThreading and IsMultiVolume to archive
  • 2e7d4eb first pass of making Rar multi-threaded
  • 2e301be fmt

📊 Changes

23 files changed (+167 additions, -105 deletions)

View changed files

📝 src/SharpCompress/Archives/AbstractArchive.cs (+5 -0)
📝 src/SharpCompress/Archives/IArchive.cs (+10 -0)
📝 src/SharpCompress/Archives/IArchiveEntryExtensions.cs (+3 -3)
src/SharpCompress/Archives/Rar/FileInfoRarArchiveVolume.cs (+0 -39)
src/SharpCompress/Archives/Rar/FileInfoRarFilePart.cs (+0 -21)
📝 src/SharpCompress/Archives/Rar/RarArchive.cs (+10 -3)
📝 src/SharpCompress/Archives/Rar/RarArchiveEntry.cs (+2 -0)
📝 src/SharpCompress/Archives/Rar/SeekableRarFilePart.cs (+10 -3)
📝 src/SharpCompress/Archives/Rar/StreamRarArchiveVolume.cs (+20 -3)
📝 src/SharpCompress/Archives/Zip/ZipArchive.cs (+8 -1)
📝 src/SharpCompress/Archives/Zip/ZipArchiveEntry.cs (+2 -0)
📝 src/SharpCompress/Common/Entry.cs (+1 -0)
📝 src/SharpCompress/Common/ExtractionMethods.cs (+5 -4)
📝 src/SharpCompress/Common/FilePart.cs (+2 -0)
📝 src/SharpCompress/Common/IEntry.cs (+1 -0)
📝 src/SharpCompress/Common/Zip/SeekableZipFilePart.cs (+21 -2)
📝 src/SharpCompress/Compressors/Rar/MultiVolumeReadOnlyStream.cs (+0 -4)
📝 src/SharpCompress/Compressors/Rar/RarStream.cs (+0 -3)
📝 src/SharpCompress/IO/SourceStream.cs (+18 -16)
📝 src/SharpCompress/Readers/IReaderExtensions.cs (+3 -3)

...and 3 more files

📄 Description

Starts https://github.com/adamhathcock/sharpcompress/issues/1001

After thinking a while, SourceStream gives all the info I need.

related: https://github.com/adamhathcock/sharpcompress/issues/1042


🔄 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/1040 **Author:** [@adamhathcock](https://github.com/adamhathcock) **Created:** 11/27/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `adam/multi-threaded` --- ### 📝 Commits (8) - [`4536fdd`](https://github.com/adamhathcock/sharpcompress/commit/4536fddec2004c2b1fb5246b9c59532e49cb4d21) intermediate commit: add zip/filepart that only deals with fileinfo - [`1984da6`](https://github.com/adamhathcock/sharpcompress/commit/1984da6997967d681e445ecdf1eb43ff3bdb0c32) Merge remote-tracking branch 'origin/master' into adam/multi-threaded - [`af7e270`](https://github.com/adamhathcock/sharpcompress/commit/af7e270b2d02f3c4f13b58ca8f00e6d84cf4f480) added SupportsMultiThreading flag for File based Zips - [`8d2463f`](https://github.com/adamhathcock/sharpcompress/commit/8d2463f5750f3c3fe96cbd3d8ebb518b2d7dbbc3) More test fixes and fmt - [`c116953`](https://github.com/adamhathcock/sharpcompress/commit/c1169539ea661c83775b1e8a4a1d0a2228ade0c9) add multi-threading test with fix - [`5b2030b`](https://github.com/adamhathcock/sharpcompress/commit/5b2030bb98f828cb5594c6d60b660108b4dd6260) add SupportsMultiThreading and IsMultiVolume to archive - [`2e7d4eb`](https://github.com/adamhathcock/sharpcompress/commit/2e7d4eb74baa7327a061cfcbf0811e4cf8d3c9b5) first pass of making Rar multi-threaded - [`2e301be`](https://github.com/adamhathcock/sharpcompress/commit/2e301becb436df8bcd2fd9017bfae21c3bad73b5) fmt ### 📊 Changes **23 files changed** (+167 additions, -105 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Archives/AbstractArchive.cs` (+5 -0) 📝 `src/SharpCompress/Archives/IArchive.cs` (+10 -0) 📝 `src/SharpCompress/Archives/IArchiveEntryExtensions.cs` (+3 -3) ➖ `src/SharpCompress/Archives/Rar/FileInfoRarArchiveVolume.cs` (+0 -39) ➖ `src/SharpCompress/Archives/Rar/FileInfoRarFilePart.cs` (+0 -21) 📝 `src/SharpCompress/Archives/Rar/RarArchive.cs` (+10 -3) 📝 `src/SharpCompress/Archives/Rar/RarArchiveEntry.cs` (+2 -0) 📝 `src/SharpCompress/Archives/Rar/SeekableRarFilePart.cs` (+10 -3) 📝 `src/SharpCompress/Archives/Rar/StreamRarArchiveVolume.cs` (+20 -3) 📝 `src/SharpCompress/Archives/Zip/ZipArchive.cs` (+8 -1) 📝 `src/SharpCompress/Archives/Zip/ZipArchiveEntry.cs` (+2 -0) 📝 `src/SharpCompress/Common/Entry.cs` (+1 -0) 📝 `src/SharpCompress/Common/ExtractionMethods.cs` (+5 -4) 📝 `src/SharpCompress/Common/FilePart.cs` (+2 -0) 📝 `src/SharpCompress/Common/IEntry.cs` (+1 -0) 📝 `src/SharpCompress/Common/Zip/SeekableZipFilePart.cs` (+21 -2) 📝 `src/SharpCompress/Compressors/Rar/MultiVolumeReadOnlyStream.cs` (+0 -4) 📝 `src/SharpCompress/Compressors/Rar/RarStream.cs` (+0 -3) 📝 `src/SharpCompress/IO/SourceStream.cs` (+18 -16) 📝 `src/SharpCompress/Readers/IReaderExtensions.cs` (+3 -3) _...and 3 more files_ </details> ### 📄 Description Starts https://github.com/adamhathcock/sharpcompress/issues/1001 After thinking a while, SourceStream gives all the info I need. related: https://github.com/adamhathcock/sharpcompress/issues/1042 --- <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:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1462