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

Method content_conflicts

atomic-core/src/output/repo/repository/mod.rs:90–92  ·  view source on GitHub ↗

Get content conflicts only (Order, Cyclic, Zombie).

(&self)

Source from the content-addressed store, hash-verified

88
89 /// Get content conflicts only (Order, Cyclic, Zombie).
90 pub fn content_conflicts(&self) -> impl Iterator<Item = &FileConflict> {
91 self.conflicts.iter().filter(|c| c.is_content_conflict())
92 }
93
94 /// Add a conflict to the result.
95 pub fn add_conflict(&mut self, conflict: FileConflict) {

Callers 1

Calls 2

is_content_conflictMethod · 0.80
iterMethod · 0.45

Tested by 1