From efec2521cc14b3dec895066c9e7c16e740ab12ec Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Apr 2015 16:35:10 -0400 Subject: add filename to progress bar, and display ok/failed at end This needed plumbing an AssociatedFile through retrieveKeyFileCheap. --- Remote/BitTorrent.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Remote/BitTorrent.hs') diff --git a/Remote/BitTorrent.hs b/Remote/BitTorrent.hs index baba2e23e..05326e390 100644 --- a/Remote/BitTorrent.hs +++ b/Remote/BitTorrent.hs @@ -93,8 +93,8 @@ downloadKey key _file dest p = , return False ) -downloadKeyCheap :: Key -> FilePath -> Annex Bool -downloadKeyCheap _ _ = return False +downloadKeyCheap :: Key -> AssociatedFile -> FilePath -> Annex Bool +downloadKeyCheap _ _ _ = return False uploadKey :: Key -> AssociatedFile -> MeterUpdate -> Annex Bool uploadKey _ _ _ = do -- cgit v1.2.3