Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
122
func
(r *RightShifter) GetOutputWire(index int) bool {
123
return
r.outputs[index].Get()
124
}
125
126
func
(r *RightShifter) SetInputWire(index int, value bool) {
127
r.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected