zip-stream-0.1: ZIP archive streaming using conduits

Safe HaskellNone
LanguageHaskell2010

Codec.Archive.Zip.Conduit.Types

Synopsis

Documentation

data ZipInfo Source #

Summary information at the end of a zip stream.

Constructors

ZipInfo 

data ZipEntry Source #

(The beginning of) a single entry in a zip stream, which may be any file or directory. As per zip file conventions, directory names should end with a slash and have no data, but this library does not ensure that.

Constructors

ZipEntry 

Fields

data ZipData m Source #

The data contents for a ZipEntry. For empty entries (e.g., directories), use mempty.

Constructors

ZipDataByteString ByteString

A known ByteString, which will be fully evaluated (not streamed)

ZipDataSource (Source m ByteString)

A byte stream producer, streamed (and compressed) directly into the zip

Instances

Monad m => Monoid (ZipData m) Source # 

Methods

mempty :: ZipData m #

mappend :: ZipData m -> ZipData m -> ZipData m #

mconcat :: [ZipData m] -> ZipData m #

sourceZipData :: Monad m => ZipData m -> Source m ByteString Source #

Normalize any ZipData to a simple source