dead: A command which says that a repository is gone for good and you don't want git-annex to mention it again.

This commit is contained in:
Joey Hess 2011-12-02 16:59:55 -04:00
parent 7b08584c55
commit 251c01d51e
8 changed files with 40 additions and 15 deletions

View file

@ -67,12 +67,14 @@ parseTrust s
w = words s
parse "1" = Trusted
parse "0" = UnTrusted
parse "X" = DeadTrusted
parse _ = SemiTrusted
showTrust :: TrustLevel -> String
showTrust SemiTrusted = "?"
showTrust UnTrusted = "0"
showTrust Trusted = "1"
showTrust UnTrusted = "0"
showTrust DeadTrusted = "X"
showTrust SemiTrusted = "?"
{- Changes the trust level for a uuid in the trustLog. -}
trustSet :: UUID -> TrustLevel -> Annex ()