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

Method push

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

Add an edge modification.

(&mut self, edge: NewEdge<H>)

Source from the content-addressed store, hash-verified

334
335 /// Add an edge modification.
336 pub fn push(&mut self, edge: NewEdge<H>) {
337 self.edges.push(edge);
338 }
339}
340
341impl<H: Clone> EdgeUpdate<H> {

Callers 15

encode_trunk_valueFunction · 0.45
put_branchMethod · 0.45
put_leafMethod · 0.45
resolve_positionMethod · 0.45
put_branchMethod · 0.45
put_leafMethod · 0.45
put_branchMethod · 0.45
put_leafMethod · 0.45
add_conflictMethod · 0.45
addMethod · 0.45
add_simpleMethod · 0.45

Calls

no outgoing calls

Tested by 10

fmtMethod · 0.36
add_modelMethod · 0.36
add_changeMethod · 0.36
test_change_knowsFunction · 0.36
test_edge_map_pushFunction · 0.36
test_edge_map_concatFunction · 0.36
test_edge_map_displayFunction · 0.36
test_edge_map_many_edgesFunction · 0.36