MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / from_tracker

Method from_tracker

atomic-core/src/apply/conflict.rs:432–439  ·  view source on GitHub ↗

Create a summary from a conflict tracker.

(tracker: &ConflictTracker)

Source from the content-addressed store, hash-verified

430impl 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 {

Callers

nothing calls this directly

Calls 4

zombie_countMethod · 0.80
missing_context_countMethod · 0.80
order_conflict_countMethod · 0.80
involved_change_countMethod · 0.80

Tested by

no test coverage detected