gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.Utils.Zip

Description

Utilities for handling zip files

Synopsis

Documentation

withZipFileBS :: MonadIO m => ByteString -> ZipArchive a -> m a #

Take a zip file (in for of a ByteString) and work on its contents (using the ZipArchive monad)

zipContents :: MonadBase IO m => FilePath -> ByteString -> m ByteString #

Zip ByteString contents and return the ZIP file as ByteString

zipContentsPure :: FilePath -> ByteString -> ByteString #

Same as zipContents above, but pure (in-memory)