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

Method visit_child_topic

backend/src/bin/show.rs:77–86  ·  view source on GitHub ↗
(&mut self, topic: &RepoTopic)

Source from the content-addressed store, hash-verified

75 }
76
77 fn visit_child_topic(&mut self, topic: &RepoTopic) -> Result<()> {
78 let line = format!("- [{}]({})\n", topic.name(Locale::EN), topic.topic_id());
79 self.buf.push_str(&line);
80
81 for topic in &topic.parent_topics {
82 self.visit_child_parent_topic(topic)?;
83 }
84
85 Ok(())
86 }
87
88 fn visit_child_link(&mut self, link: &RepoLink) -> Result<()> {
89 let line = format!("- [{}]({})\n", link.title(), link.url());

Callers 1

visit_topic_childMethod · 0.80

Calls 1

Tested by

no test coverage detected