MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / GetParents

Method GetParents

module/catalogue/tree.go:23–32  ·  view source on GitHub ↗
(uuid string)

Source from the content-addressed store, hash-verified

21}
22
23func (r *Root) GetParents(uuid string) []string {
24 if uuid == "" {
25 return nil
26 }
27 n, has := r.nodes[uuid]
28 if has {
29 return n.parents
30 }
31 return nil
32}
33
34func (r *Root) GetSub(uuid string) []string {
35 if uuid == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected