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

run_pushMethod · 0.45
runMethod · 0.45
print_resultsMethod · 0.45
run_pickFunction · 0.45
files_to_restoreMethod · 0.45
seed_from_intentMethod · 0.45
resolve_and_rankFunction · 0.45
render_mdFunction · 0.45
write_trackedFunction · 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
makeLogFunction · 0.36