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

AtomicHooksPluginFunction · 0.45
createCompactionHandlerFunction · 0.45
formatCompactionSummaryFunction · 0.45
makeLogFunction · 0.45
pendingFunction · 0.45
parse_existing_sectionFunction · 0.45
build_new_sectionFunction · 0.45
collect_new_itemsFunction · 0.45
merge_items_into_sectionFunction · 0.45

Calls

no outgoing calls