add tmp flag parameter to retrieveKeyFile
This commit is contained in:
parent
94aa6b42b5
commit
06b0cb6224
12 changed files with 29 additions and 27 deletions
|
@ -118,8 +118,8 @@ storeEncrypted r buprepo (cipher, enck) k = do
|
|||
withEncryptedHandle cipher (L.readFile src) $ \h ->
|
||||
pipeBup params (Just h) Nothing
|
||||
|
||||
retrieve :: BupRepo -> Key -> FilePath -> Annex Bool
|
||||
retrieve buprepo k f = do
|
||||
retrieve :: BupRepo -> Key -> Bool -> FilePath -> Annex Bool
|
||||
retrieve buprepo k _ f = do
|
||||
let params = bupParams "join" buprepo [Param $ show k]
|
||||
liftIO $ catchBoolIO $ do
|
||||
tofile <- openFile f WriteMode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue