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

Method hasKey

ui/opensnitch/config.py:206–207  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

204 self.settings = QtCore.QSettings("opensnitch", "settings")
205
206 def hasKey(self, key):
207 return self.settings.contains(key)
208
209 def setSettings(self, path, value):
210 self.settings.setValue(path, value)

Callers 4

_load_settingsMethod · 0.80
__init__Method · 0.80
promptUserMethod · 0.80
set_default_durationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected