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

Method openDirectory

Engine/source/core/volume.cpp:723–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723DirectoryRef MountSystem::openDirectory(const Path& path)
724{
725 FileNodeRef node = getFileNode(path);
726
727 if (node != NULL)
728 {
729 DirectoryRef dir = dynamic_cast<Directory*>(node.getPointer());
730 if (dir != NULL)
731 {
732 dir->open();
733 return dir;
734 }
735 }
736 return NULL;
737}
738
739bool MountSystem::remove(const Path& path)
740{

Callers 1

OpenDirectoryFunction · 0.45

Calls 2

openMethod · 0.65
getPointerMethod · 0.45

Tested by

no test coverage detected