Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- type Decompressor = ByteString -> ByteString
- type Compressor = ByteString -> ByteString
- unpackFileToDirAndDecompress :: Decompressor -> FilePath -> FilePath -> IO ()
- packFromFilesAndCompress :: Compressor -> FilePath -> [FilePath] -> IO ()
- packFromDirAndCompress :: Compressor -> FilePath -> FilePath -> IO ()
Documentation
type Decompressor = ByteString -> ByteString Source #
type Compressor = ByteString -> ByteString Source #
unpackFileToDirAndDecompress Source #
:: Decompressor | Decompression to use |
-> FilePath | Filepath pointing to archive |
-> FilePath | Directory |
-> IO () |
Since: 0.2.0.0
packFromFilesAndCompress :: Compressor -> FilePath -> [FilePath] -> IO () Source #
Since: 0.2.0.0
packFromDirAndCompress :: Compressor -> FilePath -> FilePath -> IO () Source #
Since: 0.2.0.0