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

Method parent_topics

backend/src/git/types.rs:510–515  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

508 }
509
510 pub fn parent_topics(&self) -> &BTreeSet<ParentTopic> {
511 match self {
512 RepoObject::Topic(topic) => &topic.parent_topics,
513 RepoObject::Link(link) => &link.parent_topics,
514 }
515 }
516}
517
518#[derive(Clone, Deserialize, Serialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected