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

Method child_link_ids

backend/src/git/ext.rs:218–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

216 }
217
218 pub fn child_link_ids(&self) -> Vec<ExternalId> {
219 self.repo_topic
220 .children
221 .iter()
222 .flat_map(|child| match child.kind {
223 Kind::Topic => None,
224 Kind::Link => Some(child.id.to_owned()),
225 })
226 .collect_vec()
227 }
228
229 pub fn details(&self) -> Option<&RepoTopicDetails> {
230 self.repo_topic.details()

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected