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

Method findFile

lib/vfs/microdos.cc:199–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 }
198
199 std::shared_ptr<MicrodosDirent> findFile(const std::string filename)
200 {
201 for (const auto& dirent : _dirents)
202 {
203 if (dirent->filename == filename)
204 return dirent;
205 }
206
207 throw FileNotFoundException();
208 }
209
210private:
211 const MicrodosProto& _config;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected