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
synthesize_messageMethod · 0.45
push_to_remoteMethod · 0.45
get_all_branchesMethod · 0.45
count_commitsMethod · 0.45
reindex_working_copyFunction · 0.45

Calls

no outgoing calls

Tested by 15

list_allMethod · 0.36
find_by_prefixMethod · 0.36
print_summaryMethod · 0.36
makeLogFunction · 0.36
addMethod · 0.36