Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gotify/server
/ mayExecute
Method
mayExecute
api/stream/once.go:28–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(o *once) mayExecute() bool {
29
o.m.Lock()
30
defer
o.m.Unlock()
31
if
o.done == 0 {
32
atomic.StoreUint32(&o.done, 1)
33
return
true
34
}
35
return
false
36
}
Callers
2
Test_Execute
Function · 0.95
Do
Method · 0.95
Calls
no outgoing calls
Tested by
1
Test_Execute
Function · 0.76