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

Method _refresh_network_components

shared.py:495–501  ·  view source on GitHub ↗

Ensure dependent subsystems follow the current network context.

(self)

Source from the content-addressed store, hash-verified

493 cursor.execute("SELECT COUNT(*) FROM auth")
494 count = cursor.fetchone()[0]
495 conn.close()
496 return count > 0
497 except Exception:
498 return False
499
500 def _refresh_network_components(self):
501 """Ensure dependent subsystems follow the current network context."""
502 self._configure_database()
503 if self.network_intelligence and self.network_intelligence_dir:
504 self.network_intelligence.set_storage_root(self.network_intelligence_dir)

Callers 2

set_active_networkMethod · 0.95
_apply_contextMethod · 0.80

Calls 2

_configure_databaseMethod · 0.95
set_storage_rootMethod · 0.45

Tested by

no test coverage detected