rename some stuff and prepare to break out more into Command/*
This commit is contained in:
parent
14d59b40fb
commit
6a5be9d53c
24 changed files with 176 additions and 158 deletions
|
@ -15,16 +15,16 @@ import Messages
|
|||
import qualified Annex
|
||||
import qualified GitRepo as Git
|
||||
|
||||
seek :: [SubCmdSeek]
|
||||
seek :: [CommandSeek]
|
||||
seek = [withFilesUnlocked start]
|
||||
|
||||
{- Undo unlock -}
|
||||
start :: SubCmdStartBackendFile
|
||||
start :: CommandStartBackendFile
|
||||
start (file, _) = do
|
||||
showStart "lock" file
|
||||
return $ Just $ perform file
|
||||
|
||||
perform :: FilePath -> SubCmdPerform
|
||||
perform :: FilePath -> CommandPerform
|
||||
perform file = do
|
||||
liftIO $ removeFile file
|
||||
g <- Annex.gitRepo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue