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

Method dumpFiles

Engine/source/core/volume.cpp:275–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275bool Directory::dumpFiles(Vector<Path>& out)
276{
277 const Path sourcePath = getName();
278
279 FileNode::Attributes currentAttributes;
280 while (read(&currentAttributes))
281 {
282 Path currentPath = sourcePath;
283 currentPath.appendPath(currentPath.getFileName());
284 currentPath.setFileName(currentAttributes.name);
285
286 if (IsFile(currentPath))
287 {
288 out.push_back(currentPath);
289 }
290 }
291
292 return true;
293}
294
295bool Directory::dumpDirectories(Vector<Path>& out)
296{

Callers

nothing calls this directly

Calls 6

IsFileFunction · 0.85
appendPathMethod · 0.80
getFileNameMethod · 0.80
getNameFunction · 0.50
readFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected