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

Method is_empty

atomic-core/src/diff/semantic/config.rs:206–208  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

204 /// Check if there are no changes.
205 #[inline]
206 pub fn is_empty(&self) -> bool {
207 self.changes.is_empty()
208 }
209
210 /// Iterate over added lines.
211 pub fn added_lines(&self) -> impl Iterator<Item = &LineChange<'a>> {

Callers 2

has_changesMethod · 0.45
is_unchangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected