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

Method push_node

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

289
290 /// Push a node onto the graph, updating stats and last_node cursor.
291 pub(crate) fn push_node(&mut self, node: GraphNode) {
292 self.stats.increment(node.kind);
293 self.last_node = Some(node.id.clone());
294 self.nodes.push(node);
295 }
296}

Callers 6

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

Calls 3

incrementMethod · 0.45
cloneMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected