tree

package
v0.0.0-...-82ae9e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Name     string
	IsDir    bool
	Children []*Node
}

func Build

func Build(foldername string, isValid func(string, bool) bool) (*Node, error)

func NewNode

func NewNode(name string, isDir bool) *Node

NewNode : Creates a node ready to be inserted into the tree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL