Implemented tar+zstd compression + unit tests for it.

This commit is contained in:
eleksir
2026-03-27 23:03:44 +03:00
parent 5226688836
commit a73354b59d
11 changed files with 196 additions and 9 deletions

View File

@@ -8,6 +8,9 @@
- [X] Evaluate alternatives to gzip: bz2, xz, lzo, lz4
- CANCELLED lzo. It has cgo implementaion which depends in liblzo, and native lid that does not support streaming.
- [X] Implemented bzip2 as alternative (pure Go, via github.com/dsnet/compress)
- [ ] Implement xz as another alternative (pure Go, via github.com/ulikunitz/xz)
- [X] Implement zstd as another alternative (pure Go, via github.com/klauspost/compress/zstd)
- [ ] Implement lz4 as another alternative (pure Go, via github.com/pierrec/lz4)
- [X] Add compression_algorithm config option
** DONE Configurable filename prefix