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

Method CheckClosed

cpp/src/arrow/filesystem/azurefs.cc:1163–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1161 bool closed() const override { return closed_; }
1162
1163 Status CheckClosed(const char* action) const {
1164 if (closed_) {
1165 return Status::Invalid("Cannot ", action, " on closed stream.");
1166 }
1167 return Status::OK();
1168 }
1169
1170 Result<int64_t> Tell() const override {
1171 RETURN_NOT_OK(CheckClosed("tell"));

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected