(
&self,
ctx: &Context<'_>,
search_string: Option<String>,
)
| 36 | #[Object] |
| 37 | impl<'l> RepoLink<'l> { |
| 38 | async fn available_parent_topics( |
| 39 | &self, |
| 40 | ctx: &Context<'_>, |
| 41 | search_string: Option<String>, |
| 42 | ) -> Result<LiveSearchTopicsPayload> { |
| 43 | let result = ctx |
| 44 | .data_unchecked::<Store>() |
| 45 | .search_topics(search_string) |
| 46 | .await?; |
| 47 | Ok(LiveSearchTopicsPayload(result)) |
| 48 | } |
| 49 | |
| 50 | async fn details(&self) -> Option<RepoLinkDetails<'_>> { |
| 51 | self.0.details().map(RepoLinkDetails) |
nothing calls this directly
no test coverage detected