(
&self,
repo_id: RepoId,
topic_id: &ExternalId,
)
| 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); |