dependtree

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependencySourceMap

type DependencySourceMap map[string][]string

func (DependencySourceMap) FindRoot

func (d DependencySourceMap) FindRoot(path string) []string

func (DependencySourceMap) Merge added in v0.3.6

func (DependencySourceMap) MergeOverKey added in v0.7.0

func (DependencySourceMap) Write added in v0.7.0

func (d DependencySourceMap) Write(path string) error

type DependencyTree

type DependencyTree interface {
	// DirList fetches the current paths within a directory
	DirList(path string) ([]string, error)

	// PathDependencies finds the given dependencies for a given path
	PathDependencies(path string) ([]string, error)
}

type DependencyTreeNode

type DependencyTreeNode struct {
	Value  string
	Right  *DependencyTreeNode
	Child  *DependencyTreeNode
	IsRoot bool
}

func (*DependencyTreeNode) SourceMap

func (d *DependencyTreeNode) SourceMap() DependencySourceMap

type ManagedDependencyTree

type ManagedDependencyTree struct {
	Settings DependencyTree
	// contains filtered or unexported fields
}

func (*ManagedDependencyTree) Create

func (s *ManagedDependencyTree) Create(initialPath string) (*DependencyTreeNode, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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