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

Method CheckClosed

python/pyarrow/src/arrow/python/io.cc:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 Status CheckClosed() const {
52 if (!file_) {
53 return Status::Invalid("operation on closed Python file");
54 }
55 return Status::OK();
56 }
57
58 Status Close() {
59 if (file_) {

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected