Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ Flush
Method
Flush
cpp/src/arrow/filesystem/gcsfs.cc:229–233 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
227
}
228
229
Status Flush() override {
230
if (closed()) return Status::Invalid(
"Cannot flush a closed stream"
);
231
stream_.flush();
232
return Status::OK();
233
}
234
235
private:
236
gcs::ObjectWriteStream stream_;
Callers
2
TEST_F
Function · 0.45
TEST_F
Function · 0.45
Calls
3
closed
Function · 0.85
Invalid
Function · 0.50
OK
Function · 0.50
Tested by
2
TEST_F
Function · 0.36
TEST_F
Function · 0.36