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

Method GetOutputWire

components/components.go:122–124  ·  view source on GitHub ↗
(index int)

Source from the content-addressed store, hash-verified

120}
121
122func (r *RightShifter) GetOutputWire(index int) bool {
123 return r.outputs[index].Get()
124}
125
126func (r *RightShifter) SetInputWire(index int, value bool) {
127 r.inputs[index].Update(value)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected