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

Method full_matches

backend/src/git/index.rs:151–156  ·  view source on GitHub ↗
(&self, term: &Phrase)

Source from the content-addressed store, hash-verified

149
150impl SynonymIndexMap {
151 fn full_matches(&self, term: &Phrase) -> BTreeSet<SynonymEntry> {
152 self.synonyms
153 .get(term)
154 .map(|set| set.to_owned())
155 .unwrap_or_default()
156 }
157
158 fn prefix_matches(&self, token: &Phrase) -> BTreeSet<SynonymEntry> {
159 let iter = self

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected