MCPcopy Create free account
hub / github.com/andysworkshop/stm32plus / getFileInformation

Method getFileInformation

lib/src/filesystem/fat/FatFileSystem.cpp:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 */
222
223 bool FatFileSystem::getFileInformation(const char *filename,FileInformation*& info) {
224
225 DirectoryEntryWithLocation dirent;
226
227 TokenisedPathname tp(filename);
228 if(!getDirectoryEntry(tp,dirent))
229 return false;
230
231 info=new FatFileInformation(filename,dirent);
232 return true;
233 }
234
235
236 /**

Callers 6

ensureDirectoryExistsMethod · 0.80
setCwdMethod · 0.80
downloadMethod · 0.80
fileSizeMethod · 0.80
countImagesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected