add optional object file location to storeKey
This will be used by the next commit to simplify the proxy.
This commit is contained in:
parent
0dfdc9f951
commit
8b5fc94d50
20 changed files with 93 additions and 79 deletions
|
@ -91,7 +91,7 @@ data RemoteA a = Remote
|
|||
-- The key should not appear to be present on the remote until
|
||||
-- all of its contents have been transferred.
|
||||
-- Throws exception on failure.
|
||||
, storeKey :: Key -> AssociatedFile -> MeterUpdate -> a ()
|
||||
, storeKey :: Key -> AssociatedFile -> Maybe FilePath -> MeterUpdate -> a ()
|
||||
-- Retrieves a key's contents to a file.
|
||||
-- (The MeterUpdate does not need to be used if it writes
|
||||
-- sequentially to the file.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue