| 17 | ) |
| 18 | |
| 19 | type Directory struct { |
| 20 | name string |
| 21 | parent *Directory |
| 22 | children []*Directory |
| 23 | } |
| 24 | |
| 25 | func NewDirectory(name string, parent *Directory) *Directory { |
| 26 | return &Directory{name: name, parent: parent} |
nothing calls this directly
no outgoing calls
no test coverage detected