simplify interface by removing size
Add size to the returned key after the fact, unless the remote happened to add it itself.
This commit is contained in:
parent
85cd79ea01
commit
57cceac569
3 changed files with 8 additions and 4 deletions
|
@ -287,7 +287,7 @@ data ImportActions a = ImportActions
|
|||
-- since the ContentIdentifier was generated.
|
||||
--
|
||||
-- Throws exception on failure.
|
||||
, importKey :: Maybe (ExportLocation -> ContentIdentifier -> ByteSize -> MeterUpdate -> a Key)
|
||||
, importKey :: Maybe (ExportLocation -> ContentIdentifier -> MeterUpdate -> a Key)
|
||||
-- Retrieves a file from the remote. Ensures that the file
|
||||
-- it retrieves has the requested ContentIdentifier.
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue