add tmp flag parameter to retrieveKeyFile
This commit is contained in:
parent
94aa6b42b5
commit
06b0cb6224
12 changed files with 29 additions and 27 deletions
|
@ -198,8 +198,8 @@ dropKey r key
|
|||
]
|
||||
|
||||
{- Tries to copy a key's content from a remote's annex to a file. -}
|
||||
copyFromRemote :: Git.Repo -> Key -> FilePath -> Annex Bool
|
||||
copyFromRemote r key file
|
||||
copyFromRemote :: Git.Repo -> Key -> Bool -> FilePath -> Annex Bool
|
||||
copyFromRemote r key _ file
|
||||
| not $ Git.repoIsUrl r = do
|
||||
params <- rsyncParams r
|
||||
loc <- liftIO $ gitAnnexLocation key r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue