Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- entriesToBSL :: Foldable t => t (Entry FilePath ByteString) -> ByteString
- entriesToBSL7zip :: Foldable t => t (Entry FilePath ByteString) -> ByteString
- entriesToBSLzip :: Foldable t => t (Entry FilePath ByteString) -> ByteString
- entriesToBSLCpio :: Foldable t => t (Entry FilePath ByteString) -> ByteString
- entriesToBSLXar :: Foldable t => t (Entry FilePath ByteString) -> ByteString
- entriesToBSLShar :: Foldable t => t (Entry FilePath ByteString) -> ByteString
- entriesToBSLGeneral :: Foldable t => (ArchivePtr -> IO ArchiveResult) -> t (Entry FilePath ByteString) -> ArchiveM ByteString
- entriesToIOChunks :: Foldable t => (ArchivePtr -> IO ArchiveResult) -> t (Entry FilePath ByteString) -> (ByteString -> IO ()) -> ArchiveM ()
- packer :: Traversable t => (t (Entry FilePath ByteString) -> ByteString) -> t FilePath -> IO ByteString
- packFiles :: Traversable t => t FilePath -> IO ByteString
- packFilesZip :: Traversable t => t FilePath -> IO ByteString
- packFiles7zip :: Traversable t => t FilePath -> IO ByteString
- packFilesCpio :: Traversable t => t FilePath -> IO ByteString
- packFilesXar :: Traversable t => t FilePath -> IO ByteString
- packFilesShar :: Traversable t => t FilePath -> IO ByteString
Documentation
entriesToBSL :: Foldable t => t (Entry FilePath ByteString) -> ByteString Source #
In general, this will be more efficient than entriesToBS
Since: 1.0.5.0
entriesToBSL7zip :: Foldable t => t (Entry FilePath ByteString) -> ByteString Source #
Since: 1.0.5.0
entriesToBSLzip :: Foldable t => t (Entry FilePath ByteString) -> ByteString Source #
Since: 1.0.5.0
entriesToBSLCpio :: Foldable t => t (Entry FilePath ByteString) -> ByteString Source #
Since: 2.2.3.0
entriesToBSLXar :: Foldable t => t (Entry FilePath ByteString) -> ByteString Source #
Won't work when built with -system-libarchive
or when libarchive is not
built with zlib support.
Since: 2.2.4.0
entriesToBSLShar :: Foldable t => t (Entry FilePath ByteString) -> ByteString Source #
Since: 3.0.0.0
entriesToBSLGeneral :: Foldable t => (ArchivePtr -> IO ArchiveResult) -> t (Entry FilePath ByteString) -> ArchiveM ByteString Source #
:: Foldable t | |
=> (ArchivePtr -> IO ArchiveResult) | Action to set format of archive |
-> t (Entry FilePath ByteString) | |
-> (ByteString -> IO ()) |
|
-> ArchiveM () |
packer :: Traversable t => (t (Entry FilePath ByteString) -> ByteString) -> t FilePath -> IO ByteString Source #
:: Traversable t | |
=> t FilePath | Filepaths relative to the current directory |
-> IO ByteString |
Pack files into a tar archive. This will be more efficient than
BSL.writeFile fp . entriesToBSL
Since: 2.0.0.0
packFilesZip :: Traversable t => t FilePath -> IO ByteString Source #
Since: 2.0.0.0
packFiles7zip :: Traversable t => t FilePath -> IO ByteString Source #
Since: 2.0.0.0
packFilesCpio :: Traversable t => t FilePath -> IO ByteString Source #
Since: 2.2.3.0
packFilesXar :: Traversable t => t FilePath -> IO ByteString Source #
Since: 2.2.4.0
packFilesShar :: Traversable t => t FilePath -> IO ByteString Source #
Since: 3.0.0.0