diff options
Diffstat (limited to 'Limit.hs')
-rw-r--r-- | Limit.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -200,10 +200,14 @@ limitUnused _ (MatchingInfo _ ak _) = do k <- getInfo ak S.member k <$> unusedKeys -{- Limit that matches any version of any file. -} +{- Limit that matches any version of any file or key. -} limitAnything :: MatchFiles Annex limitAnything _ _ = return True +{- Limit that never matches. -} +limitNothing :: MatchFiles Annex +limitNothing _ _ = return False + {- Adds a limit to skip files not believed to be present in all - repositories in the specified group. -} addInAllGroup :: String -> Annex () |