| 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 | { |
no test coverage detected