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

Method equals

atomic-core/src/record/workflow/crdt/line_ops/analyzer.rs:177–179  ·  view source on GitHub ↗

Returns an iterator over equal lines only.

(&self)

Source from the content-addressed store, hash-verified

175
176 /// Returns an iterator over equal lines only.
177 pub fn equals(&self) -> impl Iterator<Item = &LineChange> {
178 self.changes.iter().filter(|c| c.kind().is_equal())
179 }
180
181 /// Returns an iterator over inserted lines only.
182 pub fn inserts(&self) -> impl Iterator<Item = &LineChange> {

Callers

nothing calls this directly

Calls 3

iterMethod · 0.45
is_equalMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected