mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-07 21:22:04 +00:00
.tar.bz2 and .tar.gz compression level #541
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?
Originally created by @laraaj on GitHub (Oct 20, 2022).
Hi,
Is it possible to specify the compression level for .tar.bz2 and .tar.gz ?
if yes how can we do that ?
if it's not supported, what's the default compression level for those formats ?
@adamhathcock commented on GitHub (Oct 21, 2022):
Currently, you can't specify levels at the factory interface level as they're not generic inputs. You'll have to manually use the streams.
Please check the code if you want to know defaults. PRs are welcomed that expand the generic factory with more options.