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

Method with_ops

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

Create a diff result with the given operations.

(ops: Vec<DiffOp>)

Source from the content-addressed store, hash-verified

404
405 /// Create a diff result with the given operations.
406 pub fn with_ops(ops: Vec<DiffOp>) -> Self {
407 Self { ops }
408 }
409
410 /// Create a diff result representing all-equal sequences.
411 pub fn equal(len: usize) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected