Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Place1/wg-access-server
/ SaveDevice
Method
SaveDevice
internal/devices/devices.go:90–92 ·
view source on GitHub ↗
(device *storage.Device)
Source
from the content-addressed store, hash-verified
88
}
89
90
func
(d *DeviceManager) SaveDevice(device *storage.Device) error {
91
return
d.storage.Save(device)
92
}
93
94
func
(d *DeviceManager) sync() error {
95
devices, err := d.ListAllDevices()
Callers
2
AddDevice
Method · 0.95
syncMetrics
Function · 0.80
Calls
1
Save
Method · 0.65
Tested by
no test coverage detected