MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ReadDir

Function ReadDir

Kernel/src/fs/filesystem.cpp:417–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415 }
416
417 int ReadDir(FsNode* node, DirectoryEntry* dirent, uint32_t index){
418 assert(node);
419
420 //if((node->flags & FS_NODE_TYPE) == FS_NODE_SYMLINK) return ReadDir(node->link, dirent, index);
421
422 return node->ReadDir(dirent, index);
423 }
424
425 FsNode* FindDir(FsNode* node, char* name){
426 assert(node);

Callers

nothing calls this directly

Calls 1

ReadDirMethod · 0.45

Tested by

no test coverage detected