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

Method list

lib/vfs/microdos.cc:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 std::vector<std::shared_ptr<Dirent>> list(const Path& path) override
138 {
139 mount();
140 if (!path.empty())
141 throw FileNotFoundException();
142
143 std::vector<std::shared_ptr<Dirent>> result;
144 for (auto& de : _dirents)
145 result.push_back(de);
146 return result;
147 }
148
149 Bytes getFile(const Path& path) override
150 {

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected