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

Method MockFSInputStream

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

Source from the content-addressed store, hash-verified

245class MockFSInputStream : public io::BufferReader {
246 public:
247 explicit MockFSInputStream(const File& file)
248 : io::BufferReader(file.data), metadata_(file.metadata) {}
249
250 Result<std::shared_ptr<const KeyValueMetadata>> ReadMetadata() override {
251 return metadata_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected