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

Method push

atomic-core/src/diff/ops.rs:420–422  ·  view source on GitHub ↗

Add an operation to the result.

(&mut self, op: DiffOp)

Source from the content-addressed store, hash-verified

418
419 /// Add an operation to the result.
420 pub fn push(&mut self, op: DiffOp) {
421 self.ops.push(op);
422 }
423
424 /// Get the number of operations.
425 pub fn len(&self) -> usize {

Callers 15

path_from_usageFunction · 0.45
walk_invokedFunction · 0.45
emitFunction · 0.45
option_spellingsFunction · 0.45
renderFunction · 0.45
run_pushMethod · 0.45
change_hash_candidatesFunction · 0.45
runMethod · 0.45
print_resultsMethod · 0.45
build_session_intent_mapFunction · 0.45
run_change_insertFunction · 0.45

Calls

no outgoing calls

Tested by 15

runMethod · 0.36
runMethod · 0.36
list_allMethod · 0.36
find_by_prefixMethod · 0.36
print_summaryMethod · 0.36
visible_subcommandsFunction · 0.36
makeLogFunction · 0.36