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

Function topics

backend/src/graphql/relay.rs:37–48  ·  view source on GitHub ↗
(
    after: Option<String>,
    before: Option<String>,
    first: Option<i32>,
    last: Option<i32>,
    topics: BTreeSet<git::Topic>,
)

Source from the content-addressed store, hash-verified

35}
36
37pub async fn topics(
38 after: Option<String>,
39 before: Option<String>,
40 first: Option<i32>,
41 last: Option<i32>,
42 topics: BTreeSet<git::Topic>,
43) -> Result<
44 Connection<String, Topic, EmptyFields, EmptyFields, DefaultConnectionName, DefaultEdgeName>,
45> {
46 let results = topics.iter().map(Topic::from).collect_vec();
47 connection(after, before, first, last, results).await
48}

Callers 4

parent_topicsMethod · 0.85
display_parent_topicsMethod · 0.85
parent_topicsMethod · 0.85
display_parent_topicsMethod · 0.85

Calls 2

connectionFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected