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

Method topic

backend/src/graphql/view.rs:78–84  ·  view source on GitHub ↗
(&self, ctx: &Context<'_>, id: String)

Source from the content-addressed store, hash-verified

76 }
77
78 async fn topic(&self, ctx: &Context<'_>, id: String) -> Result<Option<Topic>> {
79 Ok(ctx
80 .data_unchecked::<Store>()
81 .fetch_topic(id.try_into()?)
82 .await?
83 .map(Topic::from))
84 }
85
86 async fn topic_live_search(
87 &self,

Callers

nothing calls this directly

Calls 2

fetch_topicMethod · 0.45
try_intoMethod · 0.45

Tested by

no test coverage detected