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

Method hunk_count

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

Get the number of hunks.

(&self)

Source from the content-addressed store, hash-verified

1216
1217 /// Get the number of hunks.
1218 pub fn hunk_count(&self) -> usize {
1219 self.hunks.len()
1220 }
1221
1222 /// Check if this change has AI provenance.
1223 pub fn has_provenance(&self) -> bool {

Callers 4

record_with_lifecycleMethod · 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