Safe Haskell | None |
---|---|
Language | Haskell2010 |
Archive.Compression
Synopsis
- type Decompressor = ByteString -> ByteString
- type Compressor = ByteString -> ByteString
- unpackFileToDirAndDecompress :: Decompressor -> FilePath -> FilePath -> IO ()
- packFromFilesAndCompress :: Compressor -> FilePath -> [FilePath] -> IO ()
- packFromDirAndCompress :: Compressor -> FilePath -> FilePath -> IO ()
- packSrcDirAndCompress :: Compressor -> FilePath -> FilePath -> IO ()
Documentation
type Decompressor = ByteString -> ByteString Source #
type Compressor = ByteString -> ByteString Source #
unpackFileToDirAndDecompress Source #
Arguments
:: 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 Source #
Arguments
:: Compressor | |
-> FilePath | Directory to pack up |
-> FilePath | Destination tarball |
-> IO () |
Since: 0.2.0.0
packSrcDirAndCompress :: Compressor -> FilePath -> FilePath -> IO () Source #
Pack up source files, ignoring version control directories and common artifact directories
Since: 0.2.1.0