MCPcopy Create free account
hub / github.com/SmingHub/Sming / fileOpenDir

Function fileOpenDir

Sming/Core/FileSystem.h:429–433  ·  view source on GitHub ↗

@brief Open a named directory for reading * @param name Name of directory to open, empty or "/" for root * @param dir Directory object * @retval int Error code * */

Source from the content-addressed store, hash-verified

427 *
428 */
429inline int fileOpenDir(const char* dirName, DirHandle& dir)
430{
431 CHECK_FS(opendir)
432 return fileSystem->opendir(dirName, dir);
433}
434
435inline int fileOpenDir(const String& dirName, DirHandle& dir)
436{

Callers 1

fileOpenRootDirFunction · 0.85

Calls 2

opendirMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected