docs(storage): add sample for open appendable object send_and_append - #6491
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.97% 96.98%
=======================================
Files 325 325
Lines 106402 106402
=======================================
+ Hits 103188 103194 +6
+ Misses 3214 3208 -6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
7a5dcda to
d438320
Compare
d438320 to
b76a64f
Compare
Issue #5716 .
This PR follows PR #6490 .