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

Method append_equal

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

Append an Equal operation at the end.

(&mut self, old_pos: usize, new_pos: usize, len: usize)

Source from the content-addressed store, hash-verified

540
541 /// Append an Equal operation at the end.
542 pub(crate) fn append_equal(&mut self, old_pos: usize, new_pos: usize, len: usize) {
543 self.ops.push(DiffOp::equal(old_pos, new_pos, len));
544 }
545}
546
547impl IntoIterator for DiffResult {

Callers 1

diff_with_optionsFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected