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

Method add_down_context_vertex

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

Add a resolved successor vertex for the current insertion.

(&mut self, node: GraphNode<NodeId>)

Source from the content-addressed store, hash-verified

450
451 /// Add a resolved successor vertex for the current insertion.
452 pub fn add_down_context_vertex(&mut self, node: GraphNode<NodeId>) {
453 self.successor_vertices.push(node);
454 }
455
456 /// Get all up-context positions.
457 pub fn predecessors(&self) -> &[Position<NodeId>] {

Callers 1

write_new_vertexFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected