| Maintainer | Brandon Chinn <brandonchinn178@gmail.com> |
|---|---|
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Codec.Archive.ZTar
Description
Functions to create/extract archives.
- data Compression
- = NoCompression
- | GZip
- | Zip
- create :: Compression -> FilePath -> FilePath -> IO ()
- create' :: Compression -> FilePath -> FilePath -> [FilePath] -> IO ()
- extract :: FilePath -> FilePath -> IO ()
Documentation
data Compression Source #
The compression algorithm to use when creating an archive.
Constructors
| NoCompression | |
| GZip | |
| Zip |
Instances
Arguments
| :: Compression | |
| -> FilePath | archive file to create |
| -> FilePath | directory to archive |
| -> IO () |
Create a new archive from the given directory using the given compression algorithm.
Arguments
| :: Compression | |
| -> FilePath | archive file to create |
| -> FilePath | base directory |
| -> [FilePath] | files and paths to compress, relative to base directory |
| -> IO () |
Create a new archive from the given paths using the given compression algorithm.