Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils.archive添加zstd支持 #6165

Open
24bit-xjkp opened this issue Feb 22, 2025 · 1 comment
Open

utils.archive添加zstd支持 #6165

24bit-xjkp opened this issue Feb 22, 2025 · 1 comment

Comments

@24bit-xjkp
Copy link
Contributor

你在什么场景下需要该功能?

zstd在提供接近lzma2的压缩比的同时大幅降低解压缩时间,同时tar也已经支持解压zstd包。

描述可能的解决方案

在非Windows平台下可以直接使用tar解压,在Windows下目前自带的7z没有提供zstd支持,可以使用7z with Zstd来解压。

描述你认为的候选方案

如果不自带的话也可以探测系统中已经安装的tar和zstd。

其他信息

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


In what scenario do you need this function?

zstd provides a compression ratio close to lzma2 while greatly reducing the decompression time. At the same time, tar has also supported decompression of zstd package.

###Describe possible solutions

You can use tar to decompress directly on non-Windows platforms. The 7z currently comes with its own zstd support under Windows. You can use [7z with Zstd] (https://github.com/mcmilk/7-Zip-zstd) to decompress. .

Describe what you consider to be a candidate

If you do not have it, you can also detect tar and zstd installed in the system.

Other information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants