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

Method add_zombie

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

Add a zombie conflict.

(&mut self, zombie: ZombieConflict)

Source from the content-addressed store, hash-verified

307
308 /// Add a zombie conflict.
309 pub fn add_zombie(&mut self, zombie: ZombieConflict) {
310 for change in &zombie.deleted_by {
311 self.involved_changes.insert(*change);
312 }
313 for change in &zombie.connected_by {
314 self.involved_changes.insert(*change);
315 }
316 self.zombies.push(zombie);
317 }
318
319 /// Add a zombie span (simplified API).
320 pub fn add_zombie_vertex(&mut self, node: GraphNode<NodeId>) {

Callers 3

write_hunkFunction · 0.45

Calls 2

insertMethod · 0.45
pushMethod · 0.45