data: remove unused Nodes type

This commit is contained in:
Michael Eischer
2026-06-05 16:40:03 +02:00
parent 7f3c9eb749
commit 264cfbcff2
-7
View File
@@ -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 {