Diff options
authorChristian Hesse <mail@eworm.de>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
ui-snapshot: add support for zstd compression
This patch adds support for zstd [0] compressed snapshots (*.tar.zst). We enable multiple working threads (-T0), but keep default compression level. The latter can be influenced by environment variable. [0] https://www.zstd.net/ Signed-off-by: Christian Hesse <mail@eworm.de>
-rw-r--r--cgitrc.5.txt9
-rwxr-xr-xtests/setup.sh2
-rwxr-xr-xtests/t0107-snapshot.sh42
-rw-r--r--ui-snapshot.c7
4 files changed, 56 insertions, 4 deletions