Versions in this module Expand all Collapse all v0 v0.2.4 Feb 27, 2020 Changes in this version + const Blue + const BrokenColor + const Green + const Orange + const Red + const RootColor + const SingleParentColor + const UserKeepColor + type Leaf struct + func NewLeaf(displayName string) *Leaf + func (l *Leaf) ImportCount() int + func (l *Leaf) IsBroken() bool + func (l *Leaf) IsRoot() bool + func (l *Leaf) SetDisplayName(name string) + func (l *Leaf) SetRoot(root bool) + func (l *Leaf) String() string + type Tree struct + func NewTree(parentDirectory string) *Tree + func (t *Tree) Add(name string) (bool, error) + func (t *Tree) AddRecursive(name string) (bool, error) + func (t *Tree) Branch(b string) error + func (t *Tree) Broaden() []map[string]string + func (t *Tree) Graphviz() (string, error) + func (t *Tree) Grow(count int) + func (t *Tree) Keep(name string) error + func (t *Tree) PackageNames() []string + func (t *Tree) Prune() + func (t *Tree) SetIncludeExts(includeExts bool) + func (t *Tree) SetIncludeTests(includeTests bool) + func (t *Tree) Stats() string + func (t *Tree) String() string