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

Method push_node

atomic-agent/src/provenance/accumulator/mod.rs:296–300  ·  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

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

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