docs(storage): add sample for open appendable object send_and_append - #6491
docs(storage): add sample for open appendable object send_and_append#6491vsharonlynn wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the send_and_append feature for the open_appendable_object API in the Google Cloud Storage Rust SDK, allowing clients to send an initial chunk of data directly within the opening stream request. The changes update the AppendObjectSpecState enum to track the initial payload, add a new connect_open_and_append method in the connector, and implement support in AppendableObjectWriterTransport to handle and potentially split the initial chunk. A new example and corresponding unit tests have also been added to verify the functionality. I have no feedback to provide as there are no review comments.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6491 +/- ##
=======================================
Coverage 96.52% 96.52%
=======================================
Files 304 304
Lines 92054 92054
=======================================
Hits 88858 88858
Misses 3196 3196 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
4301a07 to
7a5dcda
Compare
7a5dcda to
d438320
Compare
Issue #5716 .
This PR follows PR #6490 .