thread through original key to retrieveEnctypted
Allows showing progress bar for this last case of the directory special remote.
This commit is contained in:
parent
4638314001
commit
7ba79cfb8c
6 changed files with 17 additions and 16 deletions
|
@ -119,8 +119,8 @@ retrieveCheap o k f = do
|
|||
then retrieve o k f
|
||||
else return False
|
||||
|
||||
retrieveEncrypted :: RsyncOpts -> (Cipher, Key) -> FilePath -> Annex Bool
|
||||
retrieveEncrypted o (cipher, enck) f = withTmp enck $ \tmp -> do
|
||||
retrieveEncrypted :: RsyncOpts -> (Cipher, Key) -> Key -> FilePath -> Annex Bool
|
||||
retrieveEncrypted o (cipher, enck) _ f = withTmp enck $ \tmp -> do
|
||||
res <- retrieve o enck tmp
|
||||
if res
|
||||
then liftIO $ catchBoolIO $ do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue