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

Method OpenInputFile

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

Source from the content-addressed store, hash-verified

722}
723
724Result<std::shared_ptr<io::RandomAccessFile>> MockFileSystem::OpenInputFile(
725 const std::string& path) {
726 RETURN_NOT_OK(ValidatePath(path));
727 auto guard = impl_->lock_guard();
728
729 return impl_->OpenInputReader(path);
730}
731
732Result<std::shared_ptr<io::OutputStream>> MockFileSystem::OpenOutputStream(
733 const std::string& path, const std::shared_ptr<const KeyValueMetadata>& metadata) {

Callers

nothing calls this directly

Calls 3

lock_guardMethod · 0.80
OpenInputReaderMethod · 0.80
ValidatePathFunction · 0.70

Tested by

no test coverage detected