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

Method add_hunk

atomic-core/src/record/workflow/assembly/mod.rs:194–197  ·  view source on GitHub ↗

Add a graph_op to the context. # Arguments `graph_op` - The graph_op to add

(&mut self, graph_op: GraphOp<Option<Hash>>)

Source from the content-addressed store, hash-verified

192 ///
193 /// * `graph_op` - The graph_op to add
194 pub fn add_hunk(&mut self, graph_op: GraphOp<Option<Hash>>) {
195 self.hunks.push(graph_op);
196 self.stats.hunks_added += 1;
197 }
198
199 /// Add a file operation to the context (semantic layer).
200 ///

Callers 2

emit_recorded_attributesFunction · 0.45
assemble_changeFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected