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

Method modified_lines

atomic-core/src/diff/semantic/config.rs:221–223  ·  view source on GitHub ↗

Iterate over modified lines.

(&self)

Source from the content-addressed store, hash-verified

219
220 /// Iterate over modified lines.
221 pub fn modified_lines(&self) -> impl Iterator<Item = &LineChange<'a>> {
222 self.changes.iter().filter(|c| c.is_modified())
223 }
224
225 /// Get all token changes across all line changes.
226 pub fn all_token_changes(&self) -> impl Iterator<Item = &TokenChange<'a>> {

Calls 2

iterMethod · 0.45
is_modifiedMethod · 0.45