Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:35–37 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(e *Enabler) GetOutputWire(index int) bool {
36
return
e.outputs[index].Get()
37
}
38
39
func
(e *Enabler) SetInputWire(index int, value bool) {
40
e.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected