started borg special remote

Still need to implement 3 methods, but importKeyM looks like it will
work well to find annex object files.
This commit is contained in:
Joey Hess 2020-12-18 16:52:49 -04:00
parent 771b6c64f0
commit 1c054f1cf7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 69 additions and 5 deletions

View file

@ -455,7 +455,7 @@ importKeys remote importtreeconfig importcontent ignorelargefilesconfig importab
-- downloaded, which is a more expensive
-- operation generally.
let p' = if importcontent then nullMeterUpdate else p
importkey loc cid p' >>= \case
importkey loc cid sz p' >>= \case
Nothing -> return Nothing
Just unsizedk -> do
-- This avoids every remote needing