Create a summary from a conflict tracker.
(tracker: &ConflictTracker)
| 430 | impl ConflictSummary { |
| 431 | /// Create a summary from a conflict tracker. |
| 432 | pub fn from_tracker(tracker: &ConflictTracker) -> Self { |
| 433 | Self { |
| 434 | zombie_count: tracker.zombie_count(), |
| 435 | missing_context_count: tracker.missing_context_count(), |
| 436 | order_conflict_count: tracker.order_conflict_count(), |
| 437 | involved_change_count: tracker.involved_change_count(), |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | /// Check if there are any conflicts. |
| 442 | pub fn has_conflicts(&self) -> bool { |
nothing calls this directly
no test coverage detected