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

Method make

backend/src/git/index.rs:213–215  ·  view source on GitHub ↗
(filename: PathBuf, index: SynonymIndexMap)

Source from the content-addressed store, hash-verified

211 }
212
213 pub fn make(filename: PathBuf, index: SynonymIndexMap) -> Self {
214 Self { filename, index }
215 }
216
217 pub fn add(&mut self, topic_id: &ExternalId, phrase: Phrase, name: &str) -> Result<()> {
218 let paths = self.index.synonyms.entry(phrase).or_default();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected