Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ GetOutputWire
Method
GetOutputWire
components/components.go:454–456 ·
view source on GitHub ↗
(index int)
Source
from the content-addressed store, hash-verified
452
}
453
454
func
(c *Comparator) GetOutputWire(index int) bool {
455
return
c.outputs[index].Get()
456
}
457
458
func
(c *Comparator) SetInputWire(index int, value bool) {
459
c.inputs[index].Update(value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected