MCPcopy Create free account
hub / github.com/djhworld/simple-computer / ConnectOutput

Method ConnectOutput

components/components.go:450–452  ·  view source on GitHub ↗
(b Component)

Source from the content-addressed store, hash-verified

448}
449
450func (c *Comparator) ConnectOutput(b Component) {
451 c.next = b
452}
453
454func (c *Comparator) GetOutputWire(index int) bool {
455 return c.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected