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

Method search_topics

backend/src/store.rs:281–293  ·  view source on GitHub ↗
(
        &self,
        search_string: Option<String>,
    )

Source from the content-addressed store, hash-verified

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,

Callers 3

topic_live_searchMethod · 0.80

Calls 2

parseFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected