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

Method removed

atomic-repository/src/diff_engine.rs:475–482  ·  view source on GitHub ↗

Create a removed line.

(content: impl Into<String>, old_num: usize)

Source from the content-addressed store, hash-verified

473
474 /// Create a removed line.
475 pub fn removed(content: impl Into<String>, old_num: usize) -> Self {
476 Self {
477 status: LineStatus::Removed,
478 content: content.into(),
479 old_line_num: Some(old_num),
480 new_line_num: None,
481 }
482 }
483
484 /// Check if this line represents a change (added or removed).
485 pub fn is_change(&self) -> bool {

Callers

nothing calls this directly

Calls 1

removedFunction · 0.85

Tested by

no test coverage detected