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

Method findFile

lib/vfs/zdos.cc:292–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 std::shared_ptr<ZDosDirent> findFile(const std::string filename)
293 {
294 for (const auto& dirent : _dirents)
295 {
296 if (dirent->filename == filename)
297 return dirent;
298 }
299
300 throw FileNotFoundException();
301 }
302
303 int toBlockNumber(int sectorId, int track)
304 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected