()
| 285 | } |
| 286 | |
| 287 | func (t *TreeNode) getRoot() *TreeNode { |
| 288 | if t.parent == nil { |
| 289 | return t |
| 290 | } else { |
| 291 | return t.parent.getRoot() |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | func (t *TreeNode) createNodeDeep(p string) *TreeNode { |
| 296 | crtParent := t |
no outgoing calls
no test coverage detected