MCPcopy Create free account
hub / github.com/KOSASIH/skybridge / GetNeighbors

Method GetNeighbors

src/node/node.go:31–33  ·  view source on GitHub ↗

GetNeighbors returns the node's neighbors

()

Source from the content-addressed store, hash-verified

29
30// GetNeighbors returns the node's neighbors
31func (n *Node) GetNeighbors() []*Node {
32 return n.neighbors
33}
34
35// Traverse performs a depth-first traversal of the graph starting from the node
36func (n *Node) Traverse(visited map[string]bool) {

Callers 2

TestIntegrationFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestIntegrationFunction · 0.76