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

Method name

backend/src/git/activity.rs:119–129  ·  view source on GitHub ↗
(&self, locale: Locale)

Source from the content-addressed store, hash-verified

117
118impl TopicInfo {
119 fn name(&self, locale: Locale) -> String {
120 if let Some(name) = self.synonyms.get(&locale) {
121 return name.to_owned();
122 }
123
124 if let Some(name) = self.synonyms.get(&Locale::EN) {
125 return name.to_owned();
126 }
127
128 "[missing topic]".to_owned()
129 }
130
131 fn mark_deleted(&mut self, id: &ExternalId) {
132 if &self.id == id {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected