MCPcopy Create free account
hub / github.com/emwalker/digraph / fetch_link

Method fetch_link

backend/tests/git/fixtures.rs:78–88  ·  view source on GitHub ↗
(&self, repo_id: RepoId, link_id: &ExternalId, block: F)

Source from the content-addressed store, hash-verified

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

Callers 4

topics_updatedFunction · 0.45
whitespace_removedFunction · 0.45
no_orphansFunction · 0.45
details_updatedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected