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

Method CheckClosed

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

Source from the content-addressed store, hash-verified

832 }
833
834 Status CheckClosed(const char* action) const {
835 if (closed_) {
836 return Status::Invalid("Cannot ", action, " on closed file.");
837 }
838 return Status::OK();
839 }
840
841 Status CheckPosition(int64_t position, const char* action) const {
842 DCHECK_GE(content_length_, 0);

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected