✨ Add TemporaryBlockBlobFile
to Arcus.Testing.Storage.Blob
#214
Labels
Milestone
TemporaryBlockBlobFile
to Arcus.Testing.Storage.Blob
#214
Is your feature request related to a problem? Please describe.
We have a
TemporaryBlobFile
test fixture that deals with regular blobs, but not one that deals with block blobs. Block blobs are espcially useful in places where you want to upload the contents in partials for performance reasons or the way the content is structured.With one or many
CommitAsync
calls, ending with aStageAsync
call, 'blocks' are prepared and send together as a collection to the blob file.Describe the solution you'd like
Creates a
TemporaryBlockBlobFile
that allows us to either temporary override the entire blob file, or append a single block to the blob file.In both cases, a disposal of the test fixture should result in the blob file having its original content.
Describe alternatives you've considered
n/a
Additional context
https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs
The text was updated successfully, but these errors were encountered: