Refactor filesystem & stl code

This commit is contained in:
EnderIce2
2024-05-18 07:42:01 +03:00
parent 77a291d08b
commit 6801475243
186 changed files with 15784 additions and 9746 deletions

View File

@ -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