MCPcopy Index your code
hub / github.com/emwalker/digraph / fetch_topic

Method fetch_topic

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

Source from the content-addressed store, hash-verified

88 }
89
90 pub fn fetch_topic<F>(&self, repo_id: RepoId, topic_id: &ExternalId, block: F)
91 where
92 F: Fn(RepoTopic),
93 {
94 let topic = self
95 .git
96 .fetch_topic(repo_id, topic_id)
97 .unwrap_or_else(|| panic!("expected a topic: {topic_id:?}"));
98
99 block(topic);
100 }
101
102 pub fn leaked_data(&self) -> Result<Vec<(RepoId, String)>> {
103 self.git.leaked_data()

Callers 15

parent_topic_updatedFunction · 0.45
topicMethod · 0.45
parent_topics_updatedFunction · 0.45
cannot_delete_root_topicFunction · 0.45
timerange_deletedFunction · 0.45
synonyms_addedFunction · 0.45
synonyms_dedupedFunction · 0.45
synonym_added_dateFunction · 0.45
no_cyclesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected