(&self, repo_id: RepoId, link_id: &ExternalId, block: F)
| 76 | } |
| 77 | |
| 78 | pub fn fetch_link<F>(&self, repo_id: RepoId, link_id: &ExternalId, block: F) |
| 79 | where |
| 80 | F: Fn(RepoLink), |
| 81 | { |
| 82 | let link = self |
| 83 | .git |
| 84 | .fetch_link(repo_id, link_id) |
| 85 | .unwrap_or_else(|| panic!("expected a link: {link_id:?}")); |
| 86 | |
| 87 | block(link); |
| 88 | } |
| 89 | |
| 90 | pub fn fetch_topic<F>(&self, repo_id: RepoId, topic_id: &ExternalId, block: F) |
| 91 | where |
no outgoing calls
no test coverage detected