(
&self,
topic_ids: Vec<ExternalId>,
take: usize,
context_id: RepoId,
)
| 206 | } |
| 207 | |
| 208 | pub async fn fetch_topics_with_context( |
| 209 | &self, |
| 210 | topic_ids: Vec<ExternalId>, |
| 211 | take: usize, |
| 212 | context_id: RepoId, |
| 213 | ) -> Result<BTreeSet<git::Topic>> { |
| 214 | self.fetch_objects_with_context(topic_ids, take, context_id) |
| 215 | .await? |
| 216 | .into_iter() |
| 217 | .map(git::Topic::try_from) |
| 218 | .collect::<Result<BTreeSet<git::Topic>>>() |
| 219 | } |
| 220 | |
| 221 | fn mutation(&self) -> Result<git::Mutation> { |
| 222 | self.git.mutation(git::IndexMode::Update) |
no test coverage detected