archive-sig 1.0.0.0 → 1.0.1.0
raw patch · 3 files changed
+9/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Archive.Compression: packFiles :: [FilePath] -> IO ByteString
+ Archive.Compression: unpackToDir :: FilePath -> ByteString -> IO ()
Files
- CHANGELOG.md +4/−1
- archive-sig.cabal +1/−1
- src/Archive/Compression.hs +4/−2
CHANGELOG.md view
@@ -1,8 +1,11 @@+# 1.0.1.0++ * Export `unpackToDir` and `packFromFiles` from `Archive.Compression`+ # 1.0.0.0 * Add `FP` type to allow the filepath type to be abstract * Add `toFP`, `packFromFilesRaw`, `unpackToDirRaw`- * Move `packFromFiles`, `unpackToDir` to `Archive.Compression` # 0.2.3.0
archive-sig.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: archive-sig-version: 1.0.0.0+version: 1.0.1.0 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019-2020 Vanessa McHale
src/Archive/Compression.hs view
@@ -4,6 +4,8 @@ , packFromFilesAndCompress , packFromDirAndCompress , packSrcDirAndCompress+ , unpackToDir+ , packFiles ) where import Archive@@ -14,12 +16,12 @@ type Decompressor = BSL.ByteString -> BSL.ByteString type Compressor = BSL.ByteString -> BSL.ByteString --- | @since 1.0.0.0+-- | @since 1.0.1.0 packFiles :: [FilePath] -- ^ Files and directories to write to archive -> IO BSL.ByteString -- ^ 'BSL.ByteString' containing archive packFiles = packFilesRaw . fmap toFP --- | @since 1.0.0.0+-- | @since 1.0.1.0 unpackToDir :: FilePath -> BSL.ByteString -> IO () unpackToDir = unpackToDirRaw . toFP