MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getPath

Method getPath

Source/3rdParty/bx/src/filepath.cpp:370–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 }
369
370 StringView FilePath::getPath() const
371 {
372 StringView end = strRFind(m_filePath, '/');
373 if (!end.isEmpty() )
374 {
375 return StringView(m_filePath, end.getPtr()+1);
376 }
377
378 return StringView();
379 }
380
381 StringView FilePath::getFileName() const
382 {

Callers

nothing calls this directly

Calls 3

strRFindFunction · 0.85
StringViewClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected