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

Method SubId

module/catalogue/tree.go:112–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111}
112func (g *Group) SubId() []string {
113 if len(g.children) > 0 {
114 subs := make([]string, 0, len(g.children))
115 for _, c := range g.children {
116 subs = append(subs, c.Uuid)
117 sc := c.SubId()
118 if len(sc) > 0 {
119 subs = append(subs, sc...)
120 }
121 }
122 return subs
123 }
124 return nil
125}
126
127type Groups []*Group
128

Callers 1

GetSubMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected