Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ using
Method
using
lib/model/deviceactivity.go:44–48 ·
view source on GitHub ↗
(availability Availability)
Source
from the content-addressed store, hash-verified
42
}
43
44
func
(m *deviceActivity) using(availability Availability) {
45
m.mut.Lock()
46
m.act[availability.ID]++
47
m.mut.Unlock()
48
}
49
50
func
(m *deviceActivity) done(availability Availability) {
51
m.mut.Lock()
Callers
2
TestDeviceActivity
Function · 0.80
pullBlock
Method · 0.80
Calls
1
Unlock
Method · 0.80
Tested by
1
TestDeviceActivity
Function · 0.64