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

Method getDirent

lib/vfs/fatfs.cc:123–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 std::shared_ptr<Dirent> getDirent(const Path& path) override
124 {
125 std::map<std::string, std::string> attributes;
126
127 mount();
128 auto pathstr = toUpper(path.to_str());
129 FILINFO filinfo;
130 FRESULT res = f_stat(pathstr.c_str(), &filinfo);
131 throwError(res);
132
133 return toDirent(filinfo, path.parent());
134 }
135
136 Bytes getFile(const Path& path) override
137 {

Callers

nothing calls this directly

Calls 3

toUpperFunction · 0.85
to_strMethod · 0.80
parentMethod · 0.80

Tested by

no test coverage detected