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

Method CheckOpen

cpp/src/arrow/io/interfaces.cc:257–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 }
256
257 Status CheckOpen() const {
258 if (closed_) {
259 return Status::IOError("Stream is closed");
260 }
261 return Status::OK();
262 }
263
264 Status DoClose() {
265 closed_ = true;

Callers

nothing calls this directly

Calls 2

IOErrorFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected