ghcup-hs/3rdparty/libarchive/README.md

1.0 KiB

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.