(
&self,
search_string: Option<String>,
)
| 279 | } |
| 280 | |
| 281 | pub async fn search_topics( |
| 282 | &self, |
| 283 | search_string: Option<String>, |
| 284 | ) -> Result<git::FetchTopicLiveSearchResult> { |
| 285 | let search = git::Search::parse(&search_string.unwrap_or_default())?; |
| 286 | git::FetchTopicLiveSearch { |
| 287 | limit: 10, |
| 288 | viewer: Arc::clone(&self.viewer), |
| 289 | repos: self.viewer.read_repo_ids.to_owned(), |
| 290 | search, |
| 291 | } |
| 292 | .call(&self.git) |
| 293 | } |
| 294 | |
| 295 | pub async fn select_repository( |
| 296 | &self, |
no test coverage detected