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

Method new_changes

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

Returns an iterator over changes that affect new content.

(&self)

Source from the content-addressed store, hash-verified

205
206 /// Returns an iterator over changes that affect new content.
207 pub fn new_changes(&self) -> impl Iterator<Item = &LineChange> {
208 self.changes.iter().filter(|c| c.kind().affects_new())
209 }
210
211 /// Consumes the analysis and returns the changes.
212 pub fn into_changes(self) -> Vec<LineChange> {

Callers

nothing calls this directly

Calls 3

affects_newMethod · 0.80
iterMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected