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

Method find

lib/vfs/prodos.cc:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88 public:
89 std::shared_ptr<ProdosDirent> find(const std::string& filename)
90 {
91 for (auto& dirent : dirents)
92 if (dirent->filename == filename)
93 return dirent;
94
95 throw FileNotFoundException();
96 }
97
98 private:
99 uint16_t readDirectoryBlock(uint16_t block)

Callers 3

getDirentMethod · 0.45
getFileMethod · 0.45
chdirMethod · 0.45

Calls 1

Tested by

no test coverage detected