| 32 | // |
| 33 | |
| 34 | static void normalizePath(std::string& path) { |
| 35 | // Remove a bunch of stuff we don't need, like trailing slashes. |
| 36 | while ( !path.empty() && (path.back() == '/')) |
| 37 | path.pop_back(); |
| 38 | } |
| 39 | |
| 40 | void SymlinkResolver::addFile(Diagnostics& diags, std::string path) { |
| 41 | if (path.front() != '/') { |
no test coverage detected