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

Method getPath

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

Source from the content-addressed store, hash-verified

374 }
375
376 StringView FilePath::getPath() const
377 {
378 StringView end = strRFind(m_filePath, '/');
379 if (!end.isEmpty() )
380 {
381 return StringView(m_filePath, end.getPtr()+1);
382 }
383
384 return StringView();
385 }
386
387 StringView FilePath::getFileName() const
388 {

Callers 4

compileShaderFunction · 0.80
getMethod · 0.80
setMethod · 0.80
removeMethod · 0.80

Calls 3

strRFindFunction · 0.85
StringViewClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected