Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/djhworld/simple-computer
/ SetInputWire
Method
SetInputWire
components/components_test.go:20–22 ·
view source on GitHub ↗
(index int, value bool)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
(d *DummyComponent) SetInputWire(index int, value bool) {
21
d.wires[index].Update(value)
22
}
23
24
func
(d *DummyComponent) GetOutputWire(index int) bool {
25
return
d.wires[index].Get()
Callers
nothing calls this directly
Calls
1
Update
Method · 0.65
Tested by
no test coverage detected