| 337 | } |
| 338 | |
| 339 | int Root::ReadDir(DirectoryEntry* dirent, uint32_t index){ |
| 340 | if (index < fs::volumes->get_length()){ |
| 341 | *dirent = (volumes->get_at(index)->mountPointDirent); |
| 342 | return 1; |
| 343 | } else return 0; |
| 344 | } |
| 345 | |
| 346 | FsNode* Root::FindDir(char* name){ |
| 347 | if(strcmp(name, ".") == 0) return this; |
no test coverage detected