| 187 | } |
| 188 | |
| 189 | void ImportProject::ignorePaths(const std::vector<std::string> &ipaths, bool debug) |
| 190 | { |
| 191 | PathMatch matcher(ipaths, Path::getCurrentPath()); |
| 192 | for (auto it = fileSettings.cbegin(); it != fileSettings.cend();) { |
| 193 | if (matcher.match(it->filename())) { |
| 194 | if (debug) |
| 195 | std::cout << "ignored path: " << it->filename() << std::endl; |
| 196 | it = fileSettings.erase(it); |
| 197 | } |
| 198 | else |
| 199 | ++it; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | void ImportProject::ignoreOtherConfigs(const std::string &cfg) |
| 204 | { |
no test coverage detected