diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-06-16 17:03:34 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-16 17:03:34 -0400 |
commit | 8c46ea22c22267f3c14b61b2fe72024526bfba72 (patch) | |
tree | daebbe6166110985a9c87d55f5086fa03db5a8e2 /Limit.hs | |
parent | 29c03145e6dffab175001b0c076c961dc61f63bd (diff) |
Added new "anything" preferred content expression, which matches all versions of all files.
Diffstat (limited to 'Limit.hs')
-rw-r--r-- | Limit.hs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -193,6 +193,10 @@ limitUnused :: MatchFiles Annex limitUnused _ (MatchingFile _) = return False limitUnused _ (MatchingKey k) = S.member k <$> unusedKeys +{- Limit that matches any version of any file. -} +limitAnything :: MatchFiles Annex +limitAnything _ _ = return True + {- Adds a limit to skip files not believed to be present in all - repositories in the specified group. -} addInAllGroup :: String -> Annex () |