MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _refresh_focus_flags

Method _refresh_focus_flags

multi_interface.py:515–519  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

513 return default_iface
514
515 def _refresh_focus_flags(self):
516 focus_name = self.get_focus_interface()
517 with self._lock:
518 for entry in self.interfaces.values():
519 entry['focus_selected'] = bool(entry.get('name') == focus_name)
520
521 def _resolve_enabled_flag(self, interface_name: str, global_enabled: bool) -> bool:
522 if interface_name in self.scan_overrides:

Callers 3

sync_from_interfacesMethod · 0.95
get_focus_jobMethod · 0.95
update_scan_modeMethod · 0.95

Calls 3

get_focus_interfaceMethod · 0.95
valuesMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected