summaryrefslogtreecommitdiff
path: root/Checks.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-10-30 20:04:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-10-31 12:15:38 -0400
commite09dd6f306b3f69718c77a03364ee9e51a51bb3b (patch)
treef9229dcd56a8d481f186b94f1ecc458e4e038555 /Checks.hs
parent1530eac31294347a83c2a7973aa2c27ede9184f3 (diff)
cleanup
Diffstat (limited to 'Checks.hs')
-rw-r--r--Checks.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Checks.hs b/Checks.hs
index cd172c609..6a70fc52d 100644
--- a/Checks.hs
+++ b/Checks.hs
@@ -31,9 +31,6 @@ toOpt = CommandCheck 2 $ do
v <- Annex.getState Annex.toremote
unless (v == Nothing) $ error "cannot use --to with this command"
-checkCommand :: Command -> Annex ()
-checkCommand Command { cmdcheck = c } = sequence_ $ map runCheck c
-
dontCheck :: CommandCheck -> Command -> Command
dontCheck check cmd = mutateCheck cmd $ \c -> filter (/= check) c