Add zstandard support to tarball.py for unpacking 'tar.zst' file archives
_zst_unpack method added to support '.tar.zst' extension and 'application/zstd', 'application/x-zstd' mime type. Add archive example file and a test for unpacking zst file.
Showing
- CONTRIBUTORS 1 addition, 0 deletionsCONTRIBUTORS
- swh/core/tarball.py 24 additions, 0 deletionsswh/core/tarball.py
- swh/core/tests/data/archives/ca-certificates-20210603-1-any.pkg.tar.zst 0 additions, 0 deletions.../data/archives/ca-certificates-20210603-1-any.pkg.tar.zst
- swh/core/tests/test_tarball.py 14 additions, 0 deletionsswh/core/tests/test_tarball.py
Loading
Please register or sign in to comment