(filename: PathBuf, index: SynonymIndexMap)
| 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(); |
nothing calls this directly
no outgoing calls
no test coverage detected