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

Method Tell

cpp/src/arrow/filesystem/mockfs.cc:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 bool closed() const override { return closed_; }
224
225 Result<int64_t> Tell() const override {
226 if (closed_) {
227 return Status::Invalid("Invalid operation on closed stream");
228 }
229 return builder_.length();
230 }
231
232 Status Write(const void* data, int64_t nbytes) override {
233 if (closed_) {

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
lengthMethod · 0.45

Tested by

no test coverage detected