| 965 | } |
| 966 | |
| 967 | Result<Blobs::Models::GetBlockListResult> GetBlockList( |
| 968 | std::shared_ptr<Blobs::BlockBlobClient> block_blob_client) { |
| 969 | try { |
| 970 | return block_blob_client->GetBlockList().Value; |
| 971 | } catch (Core::RequestFailedException& exception) { |
| 972 | return ExceptionToStatus( |
| 973 | exception, "GetBlockList failed for '", block_blob_client->GetUrl(), |
| 974 | "'. Cannot write to a file without first fetching the existing block list."); |
| 975 | } |
| 976 | } |
| 977 | |
| 978 | Status CommitBlockList(std::shared_ptr<Storage::Blobs::BlockBlobClient> block_blob_client, |
| 979 | const std::vector<std::string>& block_ids, |
nothing calls this directly
no test coverage detected