Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
pub trait CacheStats {
Callers
1
try_from
Method · 0.80
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected