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

Method getDirent

lib/vfs/microdos.cc:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 std::shared_ptr<Dirent> getDirent(const Path& path) override
129 {
130 mount();
131 if (path.size() != 1)
132 throw BadPathException();
133
134 return findFile(path.front());
135 }
136
137 std::vector<std::shared_ptr<Dirent>> list(const Path& path) override
138 {

Callers

nothing calls this directly

Calls 2

BadPathExceptionClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected