mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Refactor filesystem & stl code
This commit is contained in:
@ -21,18 +21,19 @@
|
||||
|
||||
#include "../kernel.h"
|
||||
|
||||
void TreeFS(vfs::Node *node, int Depth)
|
||||
void TreeFS(FileNode *node, int Depth)
|
||||
{
|
||||
return;
|
||||
foreach (auto Chld in node->Children)
|
||||
{
|
||||
printf("%*c %s\eFFFFFF\n", Depth, ' ', Chld->Name);
|
||||
// foreach (auto Chld in node->GetChildren(true))
|
||||
// {
|
||||
// printf("%*c %s\eFFFFFF\n", Depth, ' ', Chld->FileName);
|
||||
|
||||
if (!Config.Quiet)
|
||||
Display->UpdateBuffer();
|
||||
TaskManager->Sleep(100);
|
||||
TreeFS(Chld, Depth + 1);
|
||||
}
|
||||
// if (!Config.Quiet)
|
||||
// Display->UpdateBuffer();
|
||||
// TaskManager->Sleep(100);
|
||||
// TreeFS(Chld, Depth + 1);
|
||||
// }
|
||||
assert(!"Function not implemented");
|
||||
}
|
||||
|
||||
#endif // DEBUG
|
||||
|
Reference in New Issue
Block a user