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

Method GetSize

cpp/src/arrow/filesystem/gcsfs.cc:292–292  ·  view source on GitHub ↗

@{ @name RandomAccessFile

Source from the content-addressed store, hash-verified

290 //@{
291 // @name RandomAccessFile
292 Result<int64_t> GetSize() override { return metadata_.size(); }
293 Result<int64_t> ReadAt(int64_t position, int64_t nbytes, void* out) override {
294 if (closed()) return Status::Invalid("Cannot read from closed file");
295 std::shared_ptr<io::InputStream> stream;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected