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

Function PathToOS

Engine/source/core/util/path.cpp:427–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427String PathToOS(String file)
428{
429 if (Path::OsSeparator != '/')
430 file.replace( '/', Path::OsSeparator );
431
432 return file;
433}
434
435} // Namespace
436

Callers 10

_IsDirectoryFunction · 0.85
resolveMethod · 0.85
createMethod · 0.85
removeMethod · 0.85
renameMethod · 0.85
getAttributesMethod · 0.85
openMethod · 0.85
readMethod · 0.85
VerifyWriteAccessMethod · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected