summaryrefslogtreecommitdiff
path: root/Types/Limit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-10-28 14:50:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-10-28 14:50:17 -0400
commit50c6c7406ba4c310e3567dc7d812330ef79098d2 (patch)
tree925449e6e9382646834b75968e4d3b0b2014dd06 /Types/Limit.hs
parenta86cd4bc8215f01ffe2ba06c63be56656d8ae7cf (diff)
add --want-get and --want-drop options
New --want-get and --want-drop options which can be used to test preferred content settings. For example, "git annex find --in . --want-drop"
Diffstat (limited to 'Types/Limit.hs')
-rw-r--r--Types/Limit.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Types/Limit.hs b/Types/Limit.hs
index 9d981242d..4436f6953 100644
--- a/Types/Limit.hs
+++ b/Types/Limit.hs
@@ -14,6 +14,7 @@ import Types.FileMatcher
import qualified Data.Set as S
-type MatchFiles = AssumeNotPresent -> FileInfo -> Annex Bool
type MkLimit = String -> Either String MatchFiles
+
type AssumeNotPresent = S.Set UUID
+type MatchFiles = AssumeNotPresent -> FileInfo -> Annex Bool