| 27 | } |
| 28 | |
| 29 | std::string ProjectPath::Absolute(const std::string& relativePath) { |
| 30 | std::filesystem::path path = relativePath; |
| 31 | if (path.is_absolute()) { |
| 32 | return path; |
| 33 | } |
| 34 | static const std::string rootPath = GetRootPath() + "/"; |
| 35 | return std::filesystem::path(rootPath + relativePath).lexically_normal(); |
| 36 | } |
| 37 | |
| 38 | } // namespace pag |
nothing calls this directly
no test coverage detected