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

Method hunk_count

atomic-core/src/record/workflow/globalize/file.rs:89–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

87 /// Get number of hunks.
88 #[must_use]
89 pub fn hunk_count(&self) -> usize {
90 self.hunks.len()
91 }
92
93 /// Take ownership of the hunks.
94 #[must_use]

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected