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

Method hunk_count

atomic-core/src/record/builder.rs:233–235  ·  view source on GitHub ↗

Get the number of recorded hunks. # Returns The count of hunks (actions) that have been recorded.

(&self)

Source from the content-addressed store, hash-verified

231 ///
232 /// The count of hunks (actions) that have been recorded.
233 pub fn hunk_count(&self) -> usize {
234 self.actions.len()
235 }
236
237 /// Get the total size of recorded contents.
238 ///

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected