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

Method topic

backend/src/git/core/mod.rs:292–298  ·  view source on GitHub ↗
(&self, id: &ExternalId)

Source from the content-addressed store, hash-verified

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)]

Callers 1

save_topicMethod · 0.45

Calls 2

find_blobMethod · 0.80
try_intoMethod · 0.45

Tested by

no test coverage detected