(&self, repo_id: RepoId, link_id: &ExternalId)
| 230 | } |
| 231 | |
| 232 | pub fn fetch_link(&self, repo_id: RepoId, link_id: &ExternalId) -> Option<RepoLink> { |
| 233 | match &self.fetch(repo_id, link_id)? { |
| 234 | RepoObject::Link(link) => Some(link.to_owned()), |
| 235 | other => { |
| 236 | println!("expected a link, found: {other:?}"); |
| 237 | None |
| 238 | } |
| 239 | } |
| 240 | } |
| 241 | |
| 242 | pub fn fetch_all(&self, keys: &[Okey]) -> ObjectBuilders { |
| 243 | let mut objects = ObjectBuilders::new(); |
no test coverage detected