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

Method concat

atomic-core/src/change/atom.rs:353–355  ·  view source on GitHub ↗

Concatenate another EdgeUpdate's edges into this one. Note: The inode must match (this is the caller's responsibility).

(&mut self, other: &EdgeUpdate<H>)

Source from the content-addressed store, hash-verified

351 ///
352 /// Note: The inode must match (this is the caller's responsibility).
353 pub fn concat(&mut self, other: &EdgeUpdate<H>) {
354 self.edges.extend(other.edges.iter().cloned());
355 }
356}
357
358impl<H> fmt::Display for EdgeUpdate<H> {

Callers 3

old_content_in_rangeMethod · 0.80
new_content_in_rangeMethod · 0.80
test_edge_map_concatFunction · 0.80

Calls 2

extendMethod · 0.80
iterMethod · 0.45

Tested by 1

test_edge_map_concatFunction · 0.64