Package0.4.3.2Codec
zip-archive
Library for creating and modifying zip archives.
- Version0.4.3.2
- CategoryCodec
- LicenceBSD-3-Clause
- AuthorJohn MacFarlane
- Maintainerjgm@berkeley.edu
- Homepagegithub.com/jgm/zip-archive
- Pinned byhackage zip-archive 0.4.3.2
- Sourcehackage.haskell.org/package/zip-archive-0.4.3.2
Modules
1 module- Codec.Archive.Zip26The zip-archive library provides functions for creating, modifying,
Description
The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. The zip archive format is documented in http://www.pkware.com/documents/casestudies/APPNOTE.TXT.
Certain simplifying assumptions are made about the zip archives: in particular, there is no support for strong encryption, zip files that span multiple disks, ZIP64, OS-specific file attributes, or compression methods other than Deflate. However, the library should be able to read the most common zip archives, and the archives it produces should be readable by all standard unzip programs.
Archives are built and extracted in memory, so manipulating large zip files will consume a lot of memory. If you work with large zip files or need features not supported by this library, a better choice may be zip, which uses a memory-efficient streaming approach. However, zip can only read and write archives inside instances of MonadIO, so zip-archive is a better choice if you want to manipulate zip archives in "pure" contexts.
As an example of the use of the library, a standalone zip archiver and extracter is provided in the source distribution.
Depends on
14 packages- array-0.5.8.0with GHC
- base-4.20.2.0with GHC
- binary-0.8.9.3with GHC
- bytestring-0.12.2.0with GHC
- containers-0.7with GHC
- digest-0.0.2.1in this set
- directory-1.3.8.5with GHC
- filepath-1.5.4.0with GHC
- mtl-2.3.1with GHC
- pretty-1.1.3.6with GHC
- text-2.1.3with GHC
- time-1.12.2with GHC
- unix-2.8.7.0with GHC
- zlib-0.7.1.0in this set