| 77 | } |
| 78 | |
| 79 | static std::string ensureTrailingSlash(std::string path) { |
| 80 | path = normalizePath(path); |
| 81 | if (!path.empty() && path.back() != '/') { |
| 82 | path.push_back('/'); |
| 83 | } |
| 84 | return path; |
| 85 | } |
| 86 | |
| 87 | static std::string buildCandidate(const std::string &root, |
| 88 | const std::string &relativePath) { |
no test coverage detected