Closed dkocher closed 4 years ago
Thanks for the swift reply despite my sparse ticket. B2CopyingPartStorer
is what I was looking for. In particular I wanted to have a look because the range
request parameter is not properly documented in https://www.backblaze.com/b2/docs/b2_copy_part.html
Hello, are you possibly looking for a method in
B2StorageClient
called something likecopyPart()
?If no, could you clarify what you mean by a missing implementation?
If yes, then I encourage you to take a look at the
storeLargeFile()
method inB2StorageClient
. It allows you to specify where each part of your new large file is coming from. We already support the following casesB2AlreadyStoredPartStorer
)B2UploadingPartStorer
)B2CopyingPartStorer
)We have an example that splices some new bytes into the middle of a new large file by uploading a part into the middle, where the head and the tail are copied from existing sources. See
SpliceLargeFile
for that.Hope this helps! Looking forward to hearing back from you.