ghcup-hs/3rdparty/libarchive
2020-07-10 21:55:12 +02:00
..
bash Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
bench Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
c Create brick tui wrt #24 2020-07-10 21:55:12 +02:00
mem Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
src/Codec Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
test Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
.gitattributes Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
.gitignore Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
.hlint.yaml Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
.hspec Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
.stylish-haskell.yaml Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
cabal.project Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
CHANGELOG.md Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
gen-c-files.sh Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
libarchive.cabal Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
LICENSE Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
Makefile Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
README.md Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
Setup.hs Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
stack.yaml Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
TODO.md Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00

libarchive

Hackage CI Hackage Dependencies of latest version on Hackage

This contains Haskell bindings to libarchive. It was created as an alternative to tar and tar-conduit, but it supports more archive formats.

It has a high-level Haskell API for creating and unpacking archives in addition to the C API. Like the tar package, it can stream from lazy ByteStrings.

Hacking

To run the test suite, first run

make

so that you have appropriate test data downloaded.

Performance

libarchive is faster than tar or tar-conduit when unpacking archives.