| 835 | } |
| 836 | |
| 837 | std::string Path::BuildRelativePath(const std::string_view filename, const std::string_view new_filename) |
| 838 | { |
| 839 | std::string new_string; |
| 840 | |
| 841 | std::string_view::size_type pos = GetLastSeperatorPosition(filename, true); |
| 842 | if (pos != std::string_view::npos) |
| 843 | new_string.assign(filename, 0, pos); |
| 844 | new_string.append(new_filename); |
| 845 | return new_string; |
| 846 | } |
| 847 | |
| 848 | std::string Path::Combine(const std::string_view base, const std::string_view next) |
| 849 | { |
nothing calls this directly
no test coverage detected