MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / _hasChildren

Function _hasChildren

Engine/source/gui/controls/guiFileTreeCtrl.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static bool _hasChildren(const char* path)
51{
52 if( Platform::hasSubDirectory(path))
53 return true;
54
55 Vector<StringTableEntry> dummy;
56 Platform::dumpDirectories( path, dummy, 0, true);
57
58 return dummy.size() > 0;
59}
60
61GuiFileTreeCtrl::GuiFileTreeCtrl()
62 : Parent()

Callers 2

onItemSelectedMethod · 0.85
recurseInsertMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected