MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / ID

Method ID

go/engine/node.go:99–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (b *LinearNode) ID() string { return b.id }
100func (b *LinearNode) AddTransition(port string, tr Transition) error {
101 if _, ok := b.transitions[port]; ok {
102 return fmt.Errorf("node %s: duplicate transition on port %s", b.id, port)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected