diff --git a/internal/data/node.go b/internal/data/node.go index f497874b0..e7be9914c 100644 --- a/internal/data/node.go +++ b/internal/data/node.go @@ -114,13 +114,6 @@ type Node struct { Path string `json:"-"` } -// Nodes is a slice of nodes that can be sorted. -type Nodes []*Node - -func (n Nodes) Len() int { return len(n) } -func (n Nodes) Less(i, j int) bool { return n[i].Name < n[j].Name } -func (n Nodes) Swap(i, j int) { n[i], n[j] = n[j], n[i] } - func (node Node) String() string { var mode os.FileMode switch node.Type {