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

Method dump

Engine/source/core/volume.cpp:258–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256Directory::~Directory() {}
257
258bool Directory::dump(Vector<Path>& out)
259{
260 const Path sourcePath = getName();
261
262 FileNode::Attributes currentAttributes;
263 while (read(&currentAttributes))
264 {
265 Path currentPath = sourcePath;
266 currentPath.appendPath(currentPath.getFileName());
267 currentPath.setFileName(currentAttributes.name);
268
269 out.push_back(currentPath);
270 }
271
272 return true;
273}
274
275bool Directory::dumpFiles(Vector<Path>& out)
276{

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected