(&self, id: &ExternalId)
| 290 | } |
| 291 | |
| 292 | pub fn topic(&self, id: &ExternalId) -> Result<Option<RepoTopic>> { |
| 293 | let topic = match self.find_blob(id)? { |
| 294 | Some(blob) => Some(blob.try_into()?), |
| 295 | None => None, |
| 296 | }; |
| 297 | Ok(topic) |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | #[derive(Debug, Default)] |
no test coverage detected