Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
282
string 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
295
string StripExtension(const char* path)
296
{
Callers
1
ImportMesh
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected