| Maintainer | Brandon Chinn <brandonchinn178@gmail.com> |
|---|---|
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Codec.Archive.ZTar.Zip
Description
Functions to create/extract ZIP-compressed archives.
Documentation
pattern ZipFormat :: ByteString Source #
A pattern matching any ByteString in the Zip format.
Arguments
| :: FilePath | archive to create |
| -> FilePath | base directory |
| -> [FilePath] | files and paths to compress, relative to base directory |
| -> IO () |
Create a new archive compressed with Zip from the given paths.
It is equivalent to calling the standard zip program like so:
$ CURR=$PWD; (cd base && zip -r archive paths && mv archive $CURR)