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

Method hunk_count

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

Get the number of hunks.

(&self)

Source from the content-addressed store, hash-verified

838
839 /// Get the number of hunks.
840 pub fn hunk_count(&self) -> usize {
841 self.hunks.len()
842 }
843
844 /// Check if this change has AI provenance.
845 pub fn has_provenance(&self) -> bool {

Callers 4

recordMethod · 0.45
process_added_fileFunction · 0.45
process_modified_fileFunction · 0.45
process_deleted_fileFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected