(uuid string)
| 21 | } |
| 22 | |
| 23 | func (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 | |
| 34 | func (r *Root) GetSub(uuid string) []string { |
| 35 | if uuid == "" { |
nothing calls this directly
no outgoing calls
no test coverage detected