packages feed

filecache 0.3.2 → 0.4.0

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~fsnotifyPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: fsnotify

API changes (from Hackage documentation)

Files

filecache.cabal view
@@ -1,5 +1,5 @@ name:                filecache-version:             0.3.2+version:             0.4.0 synopsis:            A cache system associating values to files. description:         A cache system, that works by associating computation results with file names. When the files are modified, the cache entries are discarded. homepage:            http://lpuppet.banquise.net/@@ -34,7 +34,7 @@   build-depends:       base               >= 4.6   && < 5                      , containers         == 0.5.*                      , directory          >= 1.2   && < 1.4-                     , fsnotify           == 0.2.*+                     , fsnotify           == 0.3.*                      , strict-base-types  >= 0.2.2                      , mtl                >= 2.1   && < 2.3                      , exceptions         >= 0.8   && < 0.11
src/Data/FileCache/Internal.hs view
@@ -74,7 +74,7 @@ invalidate fp c = do    cfp <- canon fp    tm <- getCurrentTime-   writeChan (_channel c) (Removed cfp tm)+   writeChan (_channel c) (Removed cfp tm False)  canon :: FilePath -> IO FilePath canon fp = canonicalizePath fp `catchAll` const (return fp)