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

Method hunk_count

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

Get the number of hunks.

(&self)

Source from the content-addressed store, hash-verified

1464
1465 /// Get the number of hunks.
1466 pub fn hunk_count(&self) -> usize {
1467 self.hunks.len()
1468 }
1469
1470 /// Check if this change has AI provenance.
1471 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