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

Method visit_child_link

backend/src/bin/show.rs:88–97  ·  view source on GitHub ↗
(&mut self, link: &RepoLink)

Source from the content-addressed store, hash-verified

86 }
87
88 fn visit_child_link(&mut self, link: &RepoLink) -> Result<()> {
89 let line = format!("- [{}]({})\n", link.title(), link.url());
90 self.buf.push_str(&line);
91
92 for topic in &link.parent_topics {
93 self.visit_child_parent_topic(topic)?;
94 }
95
96 Ok(())
97 }
98
99 fn visit_parent_topic(&mut self, topic: &ParentTopic) -> Result<()> {
100 match &self.git.fetch(self.repo_id, &topic.id) {

Callers 1

visit_topic_childMethod · 0.80

Calls 1

Tested by

no test coverage detected