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

Method insert_merged

atomic-core/src/merge/resolved.rs:82–84  ·  view source on GitHub ↗

Record merged content for the lead vertex of a resolved SCC.

(&mut self, vid: VertexId, content: Vec<u8>)

Source from the content-addressed store, hash-verified

80
81 /// Record merged content for the lead vertex of a resolved SCC.
82 pub fn insert_merged(&mut self, vid: VertexId, content: Vec<u8>) {
83 self.merged.insert(vid, content);
84 }
85
86 /// Mark a vertex as "skip" — it belongs to a resolved SCC but is not
87 /// the lead vertex.

Calls 1

insertMethod · 0.45

Tested by 7

skip_setFunction · 0.64
multiple_resolved_sccsFunction · 0.64
clone_preserves_dataFunction · 0.64
overwrite_merged_contentFunction · 0.64