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

Method is_context

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

Check if this line is context (unchanged).

(&self)

Source from the content-addressed store, hash-verified

503
504 /// Check if this line is context (unchanged).
505 pub fn is_context(&self) -> bool {
506 matches!(self.status, LineStatus::Unchanged)
507 }
508
509 /// Check if this line is modified (alias for is_change).
510 pub fn is_modified(&self) -> bool {

Callers 1

hunks_from_changed_linesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected