MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / findFile

Method findFile

lib/vfs/cbmfs.cc:174–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173
174 std::shared_ptr<CbmfsDirent> findFile(const std::string& filename)
175 {
176 for (auto& de : dirents)
177 if (de->filename == filename)
178 return de;
179
180 throw FileNotFoundException();
181 }
182
183 public:
184 uint8_t dosVersion;

Callers 2

getDirentMethod · 0.45
getFileMethod · 0.45

Calls 1

Tested by

no test coverage detected