dir-traverse 0.2.2.0 → 0.2.2.1
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- dir-traverse.cabal +1/−1
- src/System/Directory/Recursive.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # dir-traverse +## 0.2.2.1++ * Bugfix+ ## 0.2.2.0 * Add `getDirFiltered`
dir-traverse.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: dir-traverse-version: 0.2.2.0+version: 0.2.2.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019 Vanessa McHale
src/System/Directory/Recursive.hs view
@@ -23,7 +23,7 @@ getDirFiltered :: (FilePath -> IO Bool) -> FilePath -> IO [FilePath] getDirFiltered p fp = do all' <- listDirectory fp- all'' <- filterM p (mkRel <$> all')+ all'' <- fmap mkRel <$> filterM p all' dirs <- filterM doesDirectoryExist all'' case dirs of [] -> pure all''