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

Method CheckClosed

cpp/src/arrow/filesystem/s3fs.cc:1520–1525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1518 }
1519
1520 Status CheckClosed() const {
1521 if (closed_) {
1522 return Status::Invalid("Operation on closed stream");
1523 }
1524 return Status::OK();
1525 }
1526
1527 Status CheckPosition(int64_t position, const char* action) const {
1528 if (position < 0) {

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected