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

Method is_empty

atomic-core/src/change/change.rs:835–837  ·  view source on GitHub ↗

Check if this change has any hunks.

(&self)

Source from the content-addressed store, hash-verified

833
834 /// Check if this change has any hunks.
835 pub fn is_empty(&self) -> bool {
836 self.hunks.is_empty() && self.file_ops.is_empty()
837 }
838
839 /// Get the number of hunks.
840 pub fn hunk_count(&self) -> usize {

Callers 3

has_file_opsMethod · 0.45
has_provenanceMethod · 0.45
serializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected