mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #723] [MERGED] Adds zstd (zstandard) support to zip/zipx and 7zip #1183
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/723
Author: @Nanook
Created: 2/2/2023
Status: ✅ Merged
Merged: 6/12/2023
Merged by: @adamhathcock
Base:
master← Head:fixes-zstd📝 Commits (2)
92df1ecZStandard support added to zip/zipx (WinZip) and 7zip (mcmilk 7zip)99e99c1Merge branch 'master' into fixes-zstd📊 Changes
13 files changed (+73 additions, -39 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/ZipCompressionMethod.cs(+1 -0)📝
src/SharpCompress/Common/Zip/ZipFilePart.cs(+5 -0)📝
src/SharpCompress/Compressors/LZMA/Registry.cs(+4 -0)📝
src/SharpCompress/SharpCompress.csproj(+42 -39)📝
tests/SharpCompress.Test/SevenZip/SevenZipArchiveTests.cs(+21 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.7z(+0 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.Split.7z.001(+0 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.Split.7z.002(+0 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.Split.7z.003(+0 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.Split.7z.004(+0 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.Split.7z.005(+0 -0)➕
tests/TestArchives/Archives/7Zip.ZSTD.Split.7z.006(+0 -0)➕
tests/TestArchives/Archives/WinZip27_ZSTD.zipx(+0 -0)📄 Description
Zstandard zips can be created with winzip. Zstandard 7zips can be created with 7zip here: https://github.com/mcmilk/7-Zip-zstd
This uses the nuget package from this git repo: https://github.com/oleg-st/ZstdSharp
As this PR uses an external nuget reference, I'm submitting it for reference. Should the zstd code be imported to SharpCompress?
Thanks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.