MCPcopy
hub / github.com/safing/portmaster / IsSet

Method IsSet

base/utils/broadcastflag.go:72–74  ·  view source on GitHub ↗

IsSet returns whether the flag was set since the last Refresh. This does not reset the Flag itself, you'll need to call Refresh for that.

()

Source from the content-addressed store, hash-verified

70// IsSet returns whether the flag was set since the last Refresh.
71// This does not reset the Flag itself, you'll need to call Refresh for that.
72func (f *Flag) IsSet() bool {
73 return f.flag.IsSet()
74}
75
76// Refresh fetches the current state from the broadcasting flag.
77func (f *Flag) Refresh() {

Callers 15

PutManyMethod · 0.45
GetMethod · 0.45
GetMetaMethod · 0.45
PutMethod · 0.45
PutManyMethod · 0.45
QueryMethod · 0.45
PushUpdateMethod · 0.45
addSubscriptionMethod · 0.45
MaintainMethod · 0.45
MaintainThoroughMethod · 0.45
MaintainRecordStatesMethod · 0.45
PurgeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected