summaryrefslogtreecommitdiff
path: root/Seek.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-18 14:51:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-18 14:51:55 -0400
commit842ca9c4b684ec21b9e5a99b3742db5f36a1440f (patch)
treeb198d4b4d66dd9497820f0149906df3a5a37e0cd /Seek.hs
parentbeb9bfa4454c46f62e6ecb4bc180b4a33cce6370 (diff)
improve matcher data type to allow matching Keys, instead of just files (no behavior changes)
Diffstat (limited to 'Seek.hs')
-rw-r--r--Seek.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Seek.hs b/Seek.hs
index a4e9a2fe5..4b3281a56 100644
--- a/Seek.hs
+++ b/Seek.hs
@@ -165,7 +165,7 @@ prepFiltered a fs = do
matcher <- Limit.getMatcher
map (process matcher) <$> fs
where
- process matcher f = ifM (matcher $ FileInfo f f)
+ process matcher f = ifM (matcher $ MatchingFile $ FileInfo f f)
( a f , return Nothing )
notSymlink :: FilePath -> IO Bool