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

Method fetch

backend/src/git/search.rs:167–173  ·  view source on GitHub ↗
(&self, client: &Client)

Source from the content-addressed store, hash-verified

165 }
166
167 fn fetch(&self, client: &Client) -> BTreeSet<SynonymEntry> {
168 let mut matches = BTreeSet::new();
169 for &repo_id in self.repos.iter() {
170 self.fetch_prefix(client, repo_id, &mut matches);
171 }
172 matches
173 }
174
175 fn fetch_prefix(&self, client: &Client, repo_id: RepoId, matches: &mut BTreeSet<SynonymEntry>) {
176 let tokens = &mut self.search.tokens.iter();

Callers 3

callMethod · 0.45
fetch_matchesMethod · 0.45
fetch_downsetMethod · 0.45

Calls 2

fetch_prefixMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected