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

Method push_node

atomic-agent/src/provenance/accumulator/mod.rs:297–301  ·  view source on GitHub ↗

Push a node onto the graph, updating stats and last_node cursor.

(&mut self, node: GraphNode)

Source from the content-addressed store, hash-verified

295
296 /// Push a node onto the graph, updating stats and last_node cursor.
297 pub(crate) fn push_node(&mut self, node: GraphNode) {
298 self.stats.increment(node.kind);
299 self.last_node = Some(node.id.clone());
300 self.nodes.push(node);
301 }
302}

Callers 8

append_goalMethod · 0.80
append_tool_callMethod · 0.80
append_reasoningMethod · 0.80
append_llm_responseMethod · 0.80
append_human_gateMethod · 0.80
append_patch_proposalMethod · 0.80
append_raw_nodeMethod · 0.80
append_todo_snapshotMethod · 0.80

Calls 3

incrementMethod · 0.45
cloneMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected