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

Method delete_topic

backend/src/store.rs:124–135  ·  view source on GitHub ↗
(
        &self,
        repo_id: RepoId,
        topic_id: &ExternalId,
    )

Source from the content-addressed store, hash-verified

122 }
123
124 pub async fn delete_topic(
125 &self,
126 repo_id: RepoId,
127 topic_id: &ExternalId,
128 ) -> Result<git::DeleteTopicResult> {
129 git::DeleteTopic {
130 actor: Arc::clone(&self.viewer),
131 repo_id,
132 topic_id: topic_id.to_owned(),
133 }
134 .call(self.mutation()?, &self.redis)
135 }
136
137 pub async fn fetch_link(&self, link_id: ExternalId) -> Result<Option<git::Link>> {
138 let key = Okey(link_id, self.viewer.context_repo_id);

Callers

nothing calls this directly

Calls 2

callMethod · 0.45
mutationMethod · 0.45

Tested by

no test coverage detected