Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackFn ¶
type CallbackFn func(string)
type Depmap ¶
type Depmap struct {
// contains filtered or unexported fields
}
func (*Depmap) GetAllDeps ¶
Returns all deps, including transitive ones. Uses a very simple depth first approach, ignore circular dependencies these should be handled separately.
func (*Depmap) Traverse ¶
func (d *Depmap) Traverse(key string, visit CallbackFn, loop CallbackFn)
Traverses the dependancies, detects loops.
Click to show internal directories.
Click to hide internal directories.