| 385 | } |
| 386 | |
| 387 | StringView FilePath::getFileName() const |
| 388 | { |
| 389 | StringView fileName = strRFind(m_filePath, '/'); |
| 390 | if (!fileName.isEmpty() ) |
| 391 | { |
| 392 | return StringView(fileName.getPtr()+1); |
| 393 | } |
| 394 | |
| 395 | return getCPtr(); |
| 396 | } |
| 397 | |
| 398 | StringView FilePath::getBaseName() const |
| 399 | { |
no test coverage detected