ztar-1.0.0: Creating and extracting arbitrary archives

MaintainerBrandon Chinn <brandonchinn178@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Codec.Archive.Tar

Description

The Haskell tar library has a lot of bugs, including:

  • Does not preserve executability (https:/github.comhaskelltarissues/25)
  • Does not preserve symbolic links (https:/github.comhaskelltarissues/34)
  • Does not allow symbolic links to `..` in a nested directory (https:/github.comhaskelltarissues/32)

Because of these bugs, we will be using the tar Unix command, which should be commonly available on most systems. This module should be deprecated when the Haskell tar library is updated.

Note that this module contains the same security considerations as the tar Unix command. Follow the same security guidelines you would with the tar Unix command when using this module.

Synopsis

Documentation

tar :: [String] -> IO () Source #

Runs the UNIX tar command with the given arguments.

newtype TarArchive Source #

Constructors

TarArchive 

Fields