MCPcopy Create free account
hub / github.com/HashLoad/boss / NewNode

Function NewNode

core/compiler/graphs/graph.go:16–18  ·  view source on GitHub ↗
(dependency *models.Dependency)

Source from the content-addressed store, hash-verified

14}
15
16func NewNode(dependency *models.Dependency) *Node {
17 return &Node{Dep: *dependency, Value: strings.ToLower(dependency.GetName())}
18}
19
20func (n *Node) String() string {
21 return n.Dep.GetName()

Callers 1

loadGraphFunction · 0.92

Calls 1

GetNameMethod · 0.80

Tested by

no test coverage detected