Returns the count of conflicts of the specified kind.
(&self, kind: ConflictKind)
| 600 | |
| 601 | /// Returns the count of conflicts of the specified kind. |
| 602 | pub fn count_by_kind(&self, kind: ConflictKind) -> usize { |
| 603 | self.conflicts.iter().filter(|c| c.kind == kind).count() |
| 604 | } |
| 605 | |
| 606 | /// Returns `true` if there are any conflicts requiring user action. |
| 607 | pub fn has_user_actionable(&self) -> bool { |