mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #662] Properly integrated zip multivolume and general split support. #1151
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?
Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/662
State: closed
Merged: Yes
Proper multi volume zip and generic split support.
SplitStream has been renamed to SourceStream and supports multi and split archives. It's able to lookup missing parts.
A new static method has been added to ArchiveFactory. It's a utility method called GetFileParts() that will take a file name/FileInfo and return all the files that are part of the set. It might be handy for people wanting to scan folders for archives and gather the other part names.
ArchiveFactory is cleaner as the multipart / split code that was in there is no longer required.
All tests are passing with no changes. More have been added to demonstrate new behaviour.
Cheers ;-)