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

Method list

lib/vfs/lif.cc:179–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 std::vector<std::shared_ptr<Dirent>> list(const Path& path) override
180 {
181 mount();
182 if (!path.empty())
183 throw FileNotFoundException();
184
185 std::vector<std::shared_ptr<Dirent>> result;
186 for (auto& de : _dirents)
187 result.push_back(de);
188 return result;
189 }
190
191 Bytes getFile(const Path& path) override
192 {

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected