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

@ -299,7 +299,7 @@ data ImportActions a = ImportActions
-- otherwise return Nothing.
--
-- Throws exception on failure to access the remote.
, importKey :: Maybe (ImportLocation -> ContentIdentifier -> MeterUpdate -> a (Maybe Key))
, importKey :: Maybe (ImportLocation -> ContentIdentifier -> ByteSize -> MeterUpdate -> a (Maybe Key))
-- Retrieves a file from the remote. Ensures that the file
-- it retrieves has the requested ContentIdentifier.
--