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

Function StripExtension

core/platform.cpp:295–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295string StripExtension(const char* path)
296{
297 const char* s = strrchr(path, '.');
298 if (s)
299 {
300 return string(path, s);
301 }
302 else
303 {
304 return string(path);
305 }
306}
307
308string NormalizePath(const char* path)
309{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected