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

Method hunk_count

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

Get the number of hunks.

(&self)

Source from the content-addressed store, hash-verified

859
860 /// Get the number of hunks.
861 pub fn hunk_count(&self) -> usize {
862 self.hunks.len()
863 }
864
865 /// Check if this change has AI provenance.
866 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