MCPcopy
hub / github.com/bettercap/bettercap / CreateNode

Function CreateNode

modules/graph/node.go:86–88  ·  view source on GitHub ↗
(fileName string, node *Node)

Source from the content-addressed store, hash-verified

84}
85
86func CreateNode(fileName string, node *Node) error {
87 return WriteNode(fileName, node, false)
88}
89
90func UpdateNode(fileName string, node *Node) error {
91 return WriteNode(fileName, node, true)

Callers 1

CreateNodeMethod · 0.85

Calls 1

WriteNodeFunction · 0.85

Tested by

no test coverage detected