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"
This commit is contained in:
Joey Hess 2013-10-28 14:50:17 -04:00
parent afddbfd7e9
commit 230bfa9688
9 changed files with 63 additions and 9 deletions

View file

@ -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