MCPcopy Create free account
hub / github.com/emwalker/digraph / topic_count

Method topic_count

backend/src/git/stats.rs:40–42  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

38 }
39
40 pub fn topic_count(&self) -> usize {
41 self.stats.iter().map(|s| s.topic_count.unwrap_or(0)).sum()
42 }
43}
44
45pub trait CacheStats {

Callers 1

try_fromMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected