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

Method moves

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

Returns an iterator over moved lines only.

(&self)

Source from the content-addressed store, hash-verified

195
196 /// Returns an iterator over moved lines only.
197 pub fn moves(&self) -> impl Iterator<Item = &LineChange> {
198 self.changes.iter().filter(|c| c.kind().is_move())
199 }
200
201 /// Returns an iterator over changes that affect old content.
202 pub fn old_changes(&self) -> impl Iterator<Item = &LineChange> {

Callers

nothing calls this directly

Calls 3

iterMethod · 0.45
is_moveMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected