mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
22 lines
333 B
C++
22 lines
333 B
C++
#ifdef DEBUG
|
|
|
|
#include "t.h"
|
|
|
|
#include "../kernel.h"
|
|
|
|
void TreeFS(vfs::Node *node, int Depth)
|
|
{
|
|
return;
|
|
foreach (auto Chld in node->Children)
|
|
{
|
|
printf("%*c %s\eFFFFFF\n", Depth, ' ', Chld->Name);
|
|
|
|
if (!Config.BootAnimation)
|
|
Display->SetBuffer(0);
|
|
TaskManager->Sleep(100);
|
|
TreeFS(Chld, Depth + 1);
|
|
}
|
|
}
|
|
|
|
#endif // DEBUG
|