| 112 | } |
| 113 | |
| 114 | static bool matchList(const std::vector<std::string>& patterns, const std::string& value) { |
| 115 | if (patterns.empty()) return true; |
| 116 | return std::any_of(patterns.begin(), patterns.end(), |
| 117 | [&](const std::string& p) { return match_with_wildcard(value, p); }); |
| 118 | } |
| 119 | |
| 120 | static bool matchSourceList(const std::vector<std::string>& patterns, const std::string& value) { |
| 121 | if (patterns.empty()) return true; |
nothing calls this directly
no outgoing calls
no test coverage detected