cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Copyright(c) 2007 Bjorn Bringert
2008 Andrea Vezzosi
2008-2009 Duncan Coutts
LicenseBSD3
Maintainerduncan@community.haskell.org
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Tar

Description

Reading, writing and manipulating ".tar" archive files.

Synopsis

tar.gz operations

createTarGzFile Source #

Arguments

:: FilePath

Full Tarball path

-> FilePath

Base directory

-> FilePath

Directory to archive, relative to base dir

-> IO () 

extractTarGzFile Source #

Arguments

:: FilePath

Destination directory

-> FilePath

Expected subdir (to check for tarbombs)

-> FilePath

Tarball

-> IO () 

Other local utils

buildTreeRefTypeCode :: TypeCode Source #

Type code for the local build tree reference entry type. We don't use the symbolic link entry type because it allows only 100 ASCII characters for the path.

buildTreeSnapshotTypeCode :: TypeCode Source #

Type code for the local build tree snapshot entry type.

isBuildTreeRefTypeCode :: TypeCode -> Bool Source #

Is this a type code for a build tree reference?

filterEntriesM :: Monad m => (Entry -> m Bool) -> Entries e -> m (Entries e) Source #

Orphan instances