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

Method is_inserted

atomic-core/src/diff/inline.rs:120–122  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

118 /// Check if this hunk represents inserted content.
119 #[inline]
120 pub fn is_inserted(&self) -> bool {
121 matches!(self, HunkKind::Inserted | HunkKind::Modified)
122 }
123
124 /// Get a display name for this hunk kind.
125 pub fn name(&self) -> &'static str {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected