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

Function _dumpFiles

Engine/source/gui/controls/guiFileTreeCtrl.cpp:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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