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

Method list

lib/vfs/appledos.cc:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 std::vector<std::shared_ptr<Dirent>> list(const Path& path) override
72 {
73 mount();
74 if (path.size() != 0)
75 throw BadPathException();
76
77 std::vector<std::shared_ptr<Dirent>> results;
78 for (auto& de : _dirents)
79 results.push_back(de);
80
81 return results;
82 }
83
84 std::shared_ptr<Dirent> getDirent(const Path& path) override
85 {

Callers

nothing calls this directly

Calls 3

BadPathExceptionClass · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected