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

Method modifies

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

Returns an iterator over modified lines only.

(&self)

Source from the content-addressed store, hash-verified

190
191 /// Returns an iterator over modified lines only.
192 pub fn modifies(&self) -> impl Iterator<Item = &LineChange> {
193 self.changes.iter().filter(|c| c.kind().is_modify())
194 }
195
196 /// Returns an iterator over moved lines only.
197 pub fn moves(&self) -> impl Iterator<Item = &LineChange> {

Callers

nothing calls this directly

Calls 3

iterMethod · 0.45
is_modifyMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected