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

Function fileReadDir

Sming/Core/FileSystem.h:460–464  ·  view source on GitHub ↗

@brief Read a directory entry * @param dir The directory object returned by fileOpenDir() * @param stat The returned information, owned by DirHandle object * @retval int Error code */

Source from the content-addressed store, hash-verified

458 * @retval int Error code
459 */
460inline int fileReadDir(DirHandle dir, FileStat& stat)
461{
462 CHECK_FS(readdir)
463 return fileSystem->readdir(dir, stat);
464}
465
466/** @brief Rewind to start of directory entries
467 * @param dir The directory object returned by fileOpenDir()

Callers

nothing calls this directly

Calls 1

readdirMethod · 0.80

Tested by

no test coverage detected