| 623 | } |
| 624 | |
| 625 | std::string_view Path::GetDirectory(const std::string_view path) |
| 626 | { |
| 627 | const std::string::size_type pos = GetLastSeperatorPosition(path, false); |
| 628 | if (pos == std::string_view::npos) |
| 629 | return {}; |
| 630 | |
| 631 | return path.substr(0, pos); |
| 632 | } |
| 633 | |
| 634 | std::string_view Path::GetFileName(const std::string_view path) |
| 635 | { |
nothing calls this directly
no test coverage detected