Remove dupe code

This commit is contained in:
2026-02-01 17:37:07 -06:00
parent b935edd96f
commit 5fd2640bf8

View File

@@ -371,10 +371,3 @@ func (tn *TreeNode) GetPath() []string {
} }
return append(path, tn.value) return append(path, tn.value)
} }
func (tn *TreeNode) GetLabelPath() []string {
var path []string
if tn.parent != nil {
path = tn.parent.GetLabelPath()
}
return append(path, tn.label)
}