| 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_) { |
nothing calls this directly
no test coverage detected