| 379 | } |
| 380 | |
| 381 | StringView FilePath::getFileName() const |
| 382 | { |
| 383 | StringView fileName = strRFind(m_filePath, '/'); |
| 384 | if (!fileName.isEmpty() ) |
| 385 | { |
| 386 | return StringView(fileName.getPtr()+1); |
| 387 | } |
| 388 | |
| 389 | return getCPtr(); |
| 390 | } |
| 391 | |
| 392 | StringView FilePath::getBaseName() const |
| 393 | { |
no test coverage detected