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

Method ConnectOutput

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

Source from the content-addressed store, hash-verified

116}
117
118func (r *RightShifter) ConnectOutput(b Component) {
119 r.next = b
120}
121
122func (r *RightShifter) GetOutputWire(index int) bool {
123 return r.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected