This commit is contained in:
Joey Hess 2011-09-15 16:57:02 -04:00
parent 35145202d2
commit 5ff04bf2af
7 changed files with 18 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{- git-annex commands
{- git-annex command infrastructure
-
- Copyright 2010 Joey Hess <joey@kitenet.net>
-
@ -29,6 +29,7 @@ import Types.Key
import Trust
import LocationLog
import Config
import Backend
{- A command runs in four stages.
-
@ -49,8 +50,6 @@ type CommandPerform = Annex (Maybe CommandCleanup)
- returns the overall success/fail of the command. -}
type CommandCleanup = Annex Bool
type BackendFile = (FilePath, Maybe (Backend Annex))
data Command = Command {
cmdusesrepo :: Bool,
cmdname :: String,