MCPcopy Create free account
hub / github.com/apache/arrow / ~GcsOutputStream

Method ~GcsOutputStream

cpp/src/arrow/filesystem/gcsfs.cc:188–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 public:
187 explicit GcsOutputStream(gcs::ObjectWriteStream stream) : stream_(std::move(stream)) {}
188 ~GcsOutputStream() {
189 if (!closed_) {
190 // The common pattern is to close OutputStreams from destructor in arrow.
191 io::internal::CloseFromDestructor(this);
192 }
193 }
194
195 Status Close() override {
196 if (closed_) {

Callers

nothing calls this directly

Calls 1

CloseFromDestructorFunction · 0.85

Tested by

no test coverage detected