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

Method ConnectOutput

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

Source from the content-addressed store, hash-verified

67}
68
69func (l *LeftShifter) ConnectOutput(b Component) {
70 l.next = b
71}
72
73func (l *LeftShifter) GetOutputWire(index int) bool {
74 return l.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected