Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Conduit.VFS.Types
- newtype ZipVFS m a = ZipVFS {}
- newtype DiskZipsVFS m a = DiskZipsVFS {
- unDiskZipsVFS :: m a
Documentation
module Data.Conduit.VFS.Types
Represents a single zip file as a conduit. Note that the zip file is resident in-memory as an Archive
. The Archive
type holds a list of Entry
,
each of which holds their content as a lazy ByteString
. Because of this, you can use ZipVFS
as an alternative to PureVFS
, which stores
its in-memory data as compressed bytes. It can also be used as an alternative to InMemoryVFS
as long as the conduit execution is single-threaded.
Instances
newtype DiskZipsVFS m a Source #
This type is similar to DiskVFS
, but it automatically expands the contents of zip files that it encounters. Zip files are files denoted by the file suffix ".zip".
The filepaths for internal entries are separated by the searchPathSeparator
character.
DiskZipsVFS | |
|