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

Method mapFSPath

Engine/source/core/volume.cpp:863–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863bool MountSystem::mapFSPath( const String &inRoot, const Path &inPath, Path &outPath )
864{
865 FileSystemRef fs = _getFileSystemFromList(inRoot);
866
867 if ( fs == NULL )
868 {
869 outPath = Path();
870 return false;
871 }
872
873 outPath = fs->mapFrom( inPath );
874
875 return outPath.getFullPath() != String();
876}
877
878S32 MountSystem::findByPattern( const Path &inBasePath, const String &inFilePattern, bool inRecursive, Vector<String> &outList, bool includeDirs/* =false */, bool multiMatch /* = true */ )
879{

Callers 1

MapFSPathFunction · 0.80

Calls 3

PathClass · 0.50
StringClass · 0.50
mapFromMethod · 0.45

Tested by

no test coverage detected