MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / NormalizePath

Function NormalizePath

core/platform.cpp:308–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308string NormalizePath(const char* path)
309{
310 string p(path);
311 replace(p.begin(), p.end(), '\\', '/');
312 transform(p.begin(), p.end(), p.begin(), ::tolower);
313
314 return p;
315}
316
317// strips the path from a file name
318string StripPath(const char* path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected