(keys: &[String], approved: &HashMap<String, bool>)
| 77 | } |
| 78 | |
| 79 | fn covered(keys: &[String], approved: &HashMap<String, bool>) -> bool { |
| 80 | let patterns: Vec<&String> = approved.keys().collect(); |
| 81 | keys.iter() |
| 82 | .all(|k| patterns.iter().any(|p| wildcard_match(k, p))) |
| 83 | } |
| 84 | |
| 85 | pub fn is_approved( |
| 86 | &self, |
nothing calls this directly
no test coverage detected