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

Method getDirent

lib/vfs/cbmfs.cc:237–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 std::shared_ptr<Dirent> getDirent(const Path& path) override
238 {
239 if (path.size() != 1)
240 throw BadPathException();
241
242 Directory dir(this);
243 return dir.findFile(unhex(path[0]));
244 }
245
246 Bytes getFile(const Path& path) override
247 {

Callers

nothing calls this directly

Calls 4

BadPathExceptionClass · 0.85
unhexFunction · 0.85
sizeMethod · 0.45
findFileMethod · 0.45

Tested by

no test coverage detected