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

Method add_down_context

atomic-core/src/apply/workspace.rs:442–444  ·  view source on GitHub ↗

Add a down-context position (successor). Down-context vertices are the successors where new content will be inserted before.

(&mut self, pos: Position<NodeId>)

Source from the content-addressed store, hash-verified

440 /// Down-context vertices are the successors where new content will be
441 /// inserted before.
442 pub fn add_down_context(&mut self, pos: Position<NodeId>) {
443 self.successors.push(pos);
444 }
445
446 /// Add a resolved predecessor vertex for the current insertion.
447 pub fn add_up_context_vertex(&mut self, node: GraphNode<NodeId>) {

Callers 5

write_new_vertexFunction · 0.80

Calls 1

pushMethod · 0.45