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

Function _dumpFiles

Engine/source/gui/controls/guiFileTreeCtrl.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static void _dumpFiles(const char *path, Vector<StringTableEntry> &directoryVector, S32 depth = 0)
87{
88 Vector<Platform::FileInfo> fileVec;
89 Platform::dumpPath( path, fileVec, depth);
90
91 for(U32 i = 0; i < fileVec.size(); i++)
92 {
93 directoryVector.push_back( StringTable->insert(fileVec[i].pFileName) );
94 }
95}
96
97void GuiFileTreeCtrl::updateTree()
98{

Callers 2

updateTreeMethod · 0.85
onVirtualParentExpandMethod · 0.85

Calls 3

sizeMethod · 0.45
push_backMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected