MCPcopy Create free account
hub / github.com/apache/arrow / Close

Method Close

cpp/src/arrow/filesystem/mockfs.cc:203–209  ·  view source on GitHub ↗

Implement the OutputStream interface

Source from the content-addressed store, hash-verified

201
202 // Implement the OutputStream interface
203 Status Close() override {
204 if (!closed_) {
205 RETURN_NOT_OK(builder_.Finish(&file_->data));
206 closed_ = true;
207 }
208 return Status::OK();
209 }
210
211 Status Abort() override {
212 if (!closed_) {

Callers 1

CreateFileMethod · 0.45

Calls 2

OKFunction · 0.50
FinishMethod · 0.45

Tested by

no test coverage detected