| 413 | } |
| 414 | |
| 415 | StringView FilePath::getExt() const |
| 416 | { |
| 417 | const StringView fileName = getFileName(); |
| 418 | if (!fileName.isEmpty() ) |
| 419 | { |
| 420 | const StringView dot = strFind(fileName, '.'); |
| 421 | return StringView(dot.getPtr(), fileName.getTerm() ); |
| 422 | } |
| 423 | |
| 424 | return StringView(); |
| 425 | } |
| 426 | |
| 427 | bool FilePath::isAbsolute() const |
| 428 | { |
nothing calls this directly
no test coverage detected