refactor
This commit is contained in:
parent
e6ae5e8d56
commit
d2091730e9
3 changed files with 36 additions and 31 deletions
|
@ -30,7 +30,6 @@ import Annex.SpecialRemote.Config
|
|||
import Logs.Remote
|
||||
import Logs.EquivilantKeys
|
||||
import Backend
|
||||
import Backend.VURL.Utilities (recordVurlKey)
|
||||
|
||||
import qualified Data.Map as M
|
||||
|
||||
|
@ -170,10 +169,7 @@ downloadKey urlincludeexclude key _af dest p vc =
|
|||
|
||||
recordvurlkey eks = do
|
||||
b <- hashBackend
|
||||
ifM (recordVurlKey b dest key eks)
|
||||
( return (Just Verified)
|
||||
, return Nothing
|
||||
)
|
||||
updateEquivilantKeys b dest key eks
|
||||
|
||||
uploadKey :: Key -> AssociatedFile -> Maybe OsPath -> MeterUpdate -> Annex ()
|
||||
uploadKey _ _ _ _ = giveup "upload to web not supported"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue