streamly-fsnotify 1.1.1.1 → 1.1.1.2
raw patch · 2 files changed
+8/−6 lines, 2 filesdep ~fsnotifyPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: fsnotify
API changes (from Hackage documentation)
Files
- src/Streamly/FSNotify.hs +6/−4
- streamly-fsnotify.cabal +2/−2
src/Streamly/FSNotify.hs view
@@ -53,7 +53,6 @@ import Control.Arrow ((>>>)) import Control.Concurrent.Chan (newChan, readChan) import Control.Monad.IO.Class (MonadIO(..))-import Data.Bool (bool) import Data.Semiring (Semiring(..)) import Data.Text (Text, pack) import Data.Time.Clock (UTCTime)@@ -231,7 +230,10 @@ FSN.Added p t b -> Added p t (isDir b) FSN.Modified p t b -> Modified p t (isDir b) FSN.Removed p t b -> Modified p t (isDir b)- FSN.Unknown p t s -> Other p t (pack s)+ FSN.Unknown p t b s -> Other p t (pack s)+ e -> Other (FSN.eventPath e) (FSN.eventTime e) (pack $ show e) -isDir :: Bool -> FSEntryType-isDir = bool NotDir Dir+isDir :: FSN.EventIsDirectory -> FSEntryType+isDir = \case+ FSN.IsFile -> NotDir+ FSN.IsDirectory -> Dir
streamly-fsnotify.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: streamly-fsnotify-version: 1.1.1.1+version: 1.1.1.2 synopsis: Folder watching as a Streamly stream. description: Provides Streamly streams for both single-level and recursive folder watching.@@ -21,7 +21,7 @@ build-depends: base >= 4.9 && < 5, filepath ^>= 1.4.2.1,- fsnotify ^>= 0.3.0.1,+ fsnotify ^>= 0.4, semirings ^>= {0.5.2, 0.6}, streamly ^>= {0.7, 0.8, 0.9, 0.10}, text ^>= {1.2.3.0, 2.0, 2.1},