This library is for working with ".tar" archive files. It can read and write a range of common variations of archive format including V7, POSIX USTAR and GNU formats. It provides support for packing and unpacking portable archives. This makes it suitable for distribution but not backup because details like file ownership and exact permissions are not preserved. It also provides features for random access to archive content using an index.


Keywords
codec, library, Propose Tags, Skip to Readme, , Index, Quick Jump, Codec.Archive.Tar, Codec.Archive.Tar.Check, Codec.Archive.Tar.Entry, Codec.Archive.Tar.Index, tar-0.6.2.0.tar.gz, browse, Package description, Package maintainers, BjornBringert, DuncanCoutts, HerbertValerioRiedel, davean, Bodigrim, topos, edit package information , 01-index.tar
License
BSD-3-Clause
Install
cabal install tar-0.6.2.0

Documentation

tar Hackage

This library is for working with .tar archive files. It can read and write a range of common variations of archive format including V7, POSIX USTAR and GNU formats. It provides support for packing and unpacking portable archives and features for random access to archive content using an index.

For a quick start with the API look at htar/htar.hs, which implements a very basic tar command-line tool.

To run benchmarks download 01-index.tar into the package folder:

wget https://hackage.haskell.org/01-index.tar
cabal bench