refactor in preparation for adding a git-annex-shell command
This commit is contained in:
parent
6a5be9d53c
commit
a89a6f2114
24 changed files with 204 additions and 136 deletions
|
@ -10,6 +10,10 @@ module Command.Copy where
|
|||
import Command
|
||||
import qualified Command.Move
|
||||
|
||||
command :: [Command]
|
||||
command = [Command "copy" paramPath seek
|
||||
"copy content of files to/from another repository"]
|
||||
|
||||
-- A copy is just a move that does not delete the source file.
|
||||
seek :: [CommandSeek]
|
||||
seek = [withFilesInGit $ Command.Move.start False]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue