29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
# libarchive
|
|
|
|
[](https://matrix.hackage.haskell.org/package/libarchive)
|
|
[](http://hackage.haskell.org/package/libarchive)
|
|
[](https://hackage.haskell.org/package/libarchive)
|
|
|
|
This contains Haskell bindings to
|
|
[libarchive](http://libarchive.org/). It was created as an alternative to
|
|
[tar](http://hackage.haskell.org/package/tar) and
|
|
[tar-conduit](http://hackage.haskell.org/package/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 `ByteString`s.
|
|
|
|
## 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.
|