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

Function isBasePath

Engine/source/console/console.cpp:2228–2233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2226//-----------------------------------------------------------------------------
2227
2228bool isBasePath(const char* SrcPath, const char* pBasePath)
2229{
2230 char expandBuffer[1024];
2231 Con::expandPath(expandBuffer, sizeof(expandBuffer), SrcPath);
2232 return dStrnicmp(pBasePath, expandBuffer, dStrlen(pBasePath)) == 0;
2233}
2234
2235//-----------------------------------------------------------------------------
2236

Callers 3

collapsePathFunction · 0.85
collapseAssetFilePathMethod · 0.85
scanDeclaredAssetsMethod · 0.85

Calls 3

expandPathFunction · 0.85
dStrnicmpFunction · 0.85
dStrlenFunction · 0.50

Tested by

no test coverage detected