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

Method total_items

atomic-core/src/output/repo/tree.rs:726–728  ·  view source on GitHub ↗

Get the total number of items collected.

(&self)

Source from the content-addressed store, hash-verified

724
725 /// Get the total number of items collected.
726 pub fn total_items(&self) -> usize {
727 self.items.len()
728 }
729
730 /// Get only files from the result.
731 pub fn files(&self) -> impl Iterator<Item = &TreeItem> {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected