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

Method changes

atomic-core/src/diff/word.rs:399–401  ·  view source on GitHub ↗

Iterate over only the change operations (non-equal).

(&self)

Source from the content-addressed store, hash-verified

397
398 /// Iterate over only the change operations (non-equal).
399 pub fn changes(&self) -> impl Iterator<Item = &WordDiffOp> {
400 self.ops.iter().filter(|op| op.is_change())
401 }
402
403 /// Get tokens for an old range.
404 ///

Callers 2

Calls 2

iterMethod · 0.45
is_changeMethod · 0.45

Tested by 2