(&mut self, link: &RepoLink)
| 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) { |
no test coverage detected