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

Method total_items

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

Get the total number of items collected.

(&self)

Source from the content-addressed store, hash-verified

719
720 /// Get the total number of items collected.
721 pub fn total_items(&self) -> usize {
722 self.items.len()
723 }
724
725 /// Get only files from the result.
726 pub fn files(&self) -> impl Iterator<Item = &TreeItem> {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected