From e80353490db56e21d266a384141d39f50797e8e3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 11 Apr 2015 00:10:34 -0400 Subject: a few hlints --- Annex/FileMatcher.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Annex/FileMatcher.hs') diff --git a/Annex/FileMatcher.hs b/Annex/FileMatcher.hs index 0de4d83d1..9677e65dd 100644 --- a/Annex/FileMatcher.hs +++ b/Annex/FileMatcher.hs @@ -24,10 +24,10 @@ import Types.Remote (RemoteConfig) import Data.Either import qualified Data.Set as S -checkFileMatcher :: (FileMatcher Annex) -> FilePath -> Annex Bool +checkFileMatcher :: FileMatcher Annex -> FilePath -> Annex Bool checkFileMatcher matcher file = checkMatcher matcher Nothing (Just file) S.empty True -checkMatcher :: (FileMatcher Annex) -> Maybe Key -> AssociatedFile -> AssumeNotPresent -> Bool -> Annex Bool +checkMatcher :: FileMatcher Annex -> Maybe Key -> AssociatedFile -> AssumeNotPresent -> Bool -> Annex Bool checkMatcher matcher mkey afile notpresent d | isEmpty matcher = return d | otherwise = case (mkey, afile) of -- cgit v1.2.3