Copyright | (c) 2007 Bjorn Bringert 2008 Andrea Vezzosi 2008-2009 Duncan Coutts |
---|---|
License | BSD3 |
Maintainer | duncan@community.haskell.org |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Reading, writing and manipulating ".tar
" archive files.
Synopsis
- createTarGzFile :: FilePath -> FilePath -> FilePath -> IO ()
- extractTarGzFile :: FilePath -> FilePath -> FilePath -> IO ()
- buildTreeRefTypeCode :: TypeCode
- buildTreeSnapshotTypeCode :: TypeCode
- isBuildTreeRefTypeCode :: TypeCode -> Bool
- filterEntries :: (Entry -> Bool) -> Entries e -> Entries e
- filterEntriesM :: Monad m => (Entry -> m Bool) -> Entries e -> m (Entries e)
- entriesToList :: Exception e => Entries e -> [Entry]
tar.gz
operations
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?
Orphan instances
(Exception a, Exception b) => Exception (Either a b) Source # | |
toException :: Either a b -> SomeException # fromException :: SomeException -> Maybe (Either a b) # displayException :: Either a b -> String # |