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

Function GetExtension

core/platform.cpp:282–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282string GetExtension(const char* path)
283{
284 const char* s = strrchr(path, '.');
285 if (s)
286 {
287 return string(s+1);
288 }
289 else
290 {
291 return "";
292 }
293}
294
295string StripExtension(const char* path)
296{

Callers 1

ImportMeshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected