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

Method OpenInputStream

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

Source from the content-addressed store, hash-verified

714}
715
716Result<std::shared_ptr<io::InputStream>> MockFileSystem::OpenInputStream(
717 const std::string& path) {
718 RETURN_NOT_OK(ValidatePath(path));
719 auto guard = impl_->lock_guard();
720
721 return impl_->OpenInputReader(path);
722}
723
724Result<std::shared_ptr<io::RandomAccessFile>> MockFileSystem::OpenInputFile(
725 const std::string& path) {

Callers

nothing calls this directly

Calls 3

lock_guardMethod · 0.80
OpenInputReaderMethod · 0.80
ValidatePathFunction · 0.70

Tested by

no test coverage detected