Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emwalker/digraph
/ count
Function
count
backend/tests/git/search.rs:126–128 ·
view source on GitHub ↗
(kind: Kind, matches: &BTreeSet<SearchMatch>)
Source
from the content-addressed store, hash-verified
124
}
125
126
fn count(kind: Kind, matches: &BTreeSet<SearchMatch>) -> usize {
127
matches.iter().filter(|m| m.kind == kind).count()
128
}
129
130
fn search(
131
f: &Fixtures,
Callers
nothing calls this directly
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected