Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
16
func
NewNode(dependency *models.Dependency) *Node {
17
return
&Node{Dep: *dependency, Value: strings.ToLower(dependency.GetName())}
18
}
19
20
func
(n *Node) String() string {
21
return
n.Dep.GetName()
Callers
1
loadGraph
Function · 0.92
Calls
1
GetName
Method · 0.80
Tested by
no test coverage detected