packages feed

archive-tar 0.1.0.0 → 0.2.0.0

raw patch · 3 files changed

+8/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Archive.Tar: packFromFiles :: FilePath -> [FilePath] -> IO ()
+ Archive.Tar: packFiles :: [FilePath] -> IO ByteString

Files

+ CHANGELOG.md view
@@ -0,0 +1,3 @@+# 0.2.0.0++  * Compatibility with `archive-sig-0.2.0.0`
archive-tar.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: archive-tar-version: 0.1.0.0+version: 0.2.0.0 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019 Vanessa McHale@@ -11,6 +11,7 @@     Backpack-ified way to use [tar](http://hackage.haskell.org/package/tar) bindings category: Codec, Tar, Archive build-type: Simple+extra-doc-files: CHANGELOG.md  source-repository head     type: git
src/Archive/Tar.hs view
@@ -3,7 +3,7 @@                    , writeArchiveBytes                    , unpackToDir                    , readArchiveBytes-                   , packFromFiles+                   , packFiles                    ) where  import           Codec.Archive.Tar    (Entries (..))@@ -30,5 +30,5 @@ unpackToDir :: FilePath -> BSL.ByteString -> IO () unpackToDir = Tar.read .@ Tar.unpack -packFromFiles :: FilePath -> [FilePath] -> IO ()-packFromFiles arc = Tar.create arc "."+packFiles :: [FilePath] -> IO BSL.ByteString+packFiles = fmap Tar.write . Tar.pack "."