MCPcopy
hub / github.com/evilsocket/opensnitch / setLiveReloadRunning

Method setLiveReloadRunning

daemon/rule/loader.go:344–348  ·  view source on GitHub ↗
(running bool)

Source from the content-addressed store, hash-verified

342}
343
344func (l *Loader) setLiveReloadRunning(running bool) {
345 l.Lock()
346 l.liveReloadRunning = running
347 l.Unlock()
348}
349
350func (l *Loader) isLiveReloadRunning() bool {
351 l.RLock()

Callers 1

liveReloadWorkerMethod · 0.95

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected