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

Method CheckClosed

cpp/src/arrow/io/file.cc:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 Status CheckClosed() const {
122 if (fd_.closed()) {
123 return Status::Invalid("Invalid operation on closed file");
124 }
125 return Status::OK();
126 }
127
128 Status Close() { return fd_.Close(); }
129

Callers 9

GetSizeMethod · 0.45
TellMethod · 0.45
SeekMethod · 0.45
ReadAtMethod · 0.45
ReadMethod · 0.45
WillNeedMethod · 0.45
WriteAtMethod · 0.45
WriteMethod · 0.45
ResizeMethod · 0.45

Calls 3

InvalidFunction · 0.50
OKFunction · 0.50
closedMethod · 0.45

Tested by

no test coverage detected