Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 3, 2008
  1. bump version to 0.1

    jgm@berkeley.edu authored
  2. Improved haddock docs.

    jgm@berkeley.edu authored
  3. Major refactoring and simplification of API

    jgm@berkeley.edu authored
    + Shorter names:  ZipArchive -> Archive, ZipEntry -> Entry
    + Compress/decompress functions are no longer exposed;
      they shouldn't be needed since toEntry and fromEntry
      handle compression and decompression
    + Added toEntry, which creates an entry with a specificed
      path, timestamp, and contents
    + Simplified readEntry (using toEntry), added verbose options
    + Modified writeEntry to handle directories correctly; added
      verbose options
    + Simplified addFilesToArchive using the new readEntry
    + Simplified extractFilesFromArchive using the new writeEntry
    + Modified Tests.hs and Zip.hs accordingly
Commits on Sep 2, 2008
  1. Changed contentsOfZipEntry to fromZipEntry

    jgm@berkeley.edu authored
    Also, return a bytestring rather than an Either,
    and raise an exception if CRC32 mismatch.
  2. Removed defaultZipEntry

    jgm@berkeley.edu authored
Commits on Aug 27, 2008
  1. Modified testsuite: no time conversion tests.

    jgm@berkeley.edu authored
    Define Eq for ZipArchive so that two epoch times that convert to the
    same MSDOS datetime are regarded as equal.
  2. Don't derive Eq for ZipArchive.

    jgm@berkeley.edu authored
  3. Store timestamp as epoch time rather than MSDOS datetime.

    jgm@berkeley.edu authored
    Don't expose MSDOS datetime conversion functions in API.
Commits on Aug 26, 2008
  1. Don't include "." directory as a separate entry.

    jgm@berkeley.edu authored
  2. Only use compression if it reduces size.

    jgm@berkeley.edu authored
  3. Changed ZipOptions -> ZipOption.

    jgm@berkeley.edu authored
  4. Minor haddock changes.

    jgm@berkeley.edu authored
  5. Initial commit.

    jgm@berkeley.edu authored
Something went wrong with that request. Please try again.