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

Method fetch_topic

backend/src/git/client.rs:286–291  ·  view source on GitHub ↗
(&self, repo_id: RepoId, topic_id: &ExternalId)

Source from the content-addressed store, hash-verified

284 }
285
286 pub fn fetch_topic(&self, repo_id: RepoId, topic_id: &ExternalId) -> Option<RepoTopic> {
287 match &self.fetch(repo_id, topic_id)? {
288 RepoObject::Topic(topic) => Some(topic.to_owned()),
289 _ => None,
290 }
291 }
292
293 pub fn leaked_data(&self) -> Result<Vec<(RepoId, String)>> {
294 LeakedData.call(self)

Callers 15

fetchMethod · 0.45
nextMethod · 0.45
callMethod · 0.45
maybe_topicMethod · 0.45
callMethod · 0.45
handle_cycleMethod · 0.45
ensure_topicMethod · 0.45
downsetMethod · 0.45
topic_downsetMethod · 0.45
topicMethod · 0.45
root_topicMethod · 0.45

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected