packages feed

filesystem-conduit 0.5.0.2 → 1.0.0

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~conduitPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: conduit

API changes (from Hackage documentation)

- Data.Conduit.Filesystem: sinkFile :: MonadResource m => FilePath -> GInfSink ByteString m
+ Data.Conduit.Filesystem: sinkFile :: MonadResource m => FilePath -> Consumer ByteString m ()
- Data.Conduit.Filesystem: sourceFile :: MonadResource m => FilePath -> GSource m ByteString
+ Data.Conduit.Filesystem: sourceFile :: MonadResource m => FilePath -> Producer m ByteString
- Data.Conduit.Filesystem: traverse :: MonadIO m => Bool -> FilePath -> GSource m FilePath
+ Data.Conduit.Filesystem: traverse :: MonadIO m => Bool -> FilePath -> Producer m FilePath

Files

Data/Conduit/Filesystem.hs view
@@ -42,7 +42,7 @@ traverse :: MonadIO m          => Bool -- ^ Follow directory symlinks (only used on POSIX platforms)          -> FilePath -- ^ Root directory-         -> GSource m FilePath+         -> Producer m FilePath traverse _followSymlinks root =     liftIO (listDirectory root) >>= pull   where@@ -75,11 +75,11 @@ -- | Same as 'CB.sourceFile', but uses system-filepath\'s @FilePath@ type. sourceFile :: MonadResource m            => FilePath-           -> GSource m S.ByteString+           -> Producer m S.ByteString sourceFile = CB.sourceFile . encodeString  -- | Same as 'CB.sinkFile', but uses system-filepath\'s @FilePath@ type. sinkFile :: MonadResource m          => FilePath-         -> GInfSink S.ByteString m+         -> Consumer S.ByteString m () sinkFile = CB.sinkFile . encodeString
filesystem-conduit.cabal view
@@ -1,5 +1,5 @@ Name:                filesystem-conduit-Version:             0.5.0.2+Version:             1.0.0 Synopsis:            Use system-filepath data types with conduits. Description:         Provides ability to traverse a folder structure efficiently, as well as convenience wrappers for reading from and writing to files. License:             BSD3@@ -21,7 +21,7 @@                      , system-filepath          >= 0.4.3        && < 0.5                      , bytestring               >= 0.9                      , text                     >= 0.11-                     , conduit                  >= 0.5          && < 0.6+                     , conduit                  >= 1.0          && < 1.1   ghc-options:     -Wall    if os(windows)