MCPcopy Create free account
hub / github.com/crownengine/crown / getExt

Method getExt

3rdparty/bx/src/filepath.cpp:415–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 }
414
415 StringView FilePath::getExt() const
416 {
417 const StringView fileName = getFileName();
418 if (!fileName.isEmpty() )
419 {
420 const StringView dot = strFind(fileName, '.');
421 return StringView(dot.getPtr(), fileName.getTerm() );
422 }
423
424 return StringView();
425 }
426
427 bool FilePath::isAbsolute() const
428 {

Callers

nothing calls this directly

Calls 3

strFindFunction · 0.85
StringViewClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected