(&mut self, repo_id: RepoId, repo_obj: RepoObject)
| 20 | } |
| 21 | |
| 22 | pub fn insert(&mut self, repo_id: RepoId, repo_obj: RepoObject) { |
| 23 | self.0.insert(repo_id, repo_obj); |
| 24 | } |
| 25 | |
| 26 | pub fn link_details(&self, context: RepoId) -> Result<(Vec<RepoLinkWrapper>, RepoLinkWrapper)> { |
| 27 | let mut display_link: Option<RepoLinkWrapper> = match self.0.get(&context) { |
no outgoing calls
no test coverage detected