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

Method Find

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

Source from the content-addressed store, hash-verified

94 }
95
96 Entry* Find(const std::string& s) {
97 auto it = entries.find(s);
98 if (it != entries.end()) {
99 return it->second.get();
100 } else {
101 return nullptr;
102 }
103 }
104
105 bool CreateEntry(const std::string& s, std::unique_ptr<Entry> entry) {
106 DCHECK(!s.empty());

Callers 5

FindEntryMethod · 0.45
OpenOutputStreamMethod · 0.45
DeleteDirMethod · 0.45
DeleteFileMethod · 0.45
RunMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected