Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createDiskZipVFS :: MonadResource m => FilePath -> m (ZipVFS m Archive)
- emptyZipVFS :: Applicative m => ZipVFS m Archive
- createZipVFS :: Applicative m => Archive -> ZipVFS m Archive
Documentation
createDiskZipVFS :: MonadResource m => FilePath -> m (ZipVFS m Archive) Source #
Creates a Zip VFSC backed by a file. The file will be loaded in the resulting monad, and the resulting archive will be written back to the file path when the conduit completes. If the file does not exist when the monad is initially executed, then an empty archive is used initially and the zip file will be created at the given filepath when the conduit completes.
emptyZipVFS :: Applicative m => ZipVFS m Archive Source #
Creates a Zip VFSC without any entries, and not attached to any file.
createZipVFS :: Applicative m => Archive -> ZipVFS m Archive Source #
Creates a Zip VFSC based on the provided Archive
, and not attached to any file.