MCPcopy Create free account
hub / github.com/BuddySirJava/SSH-Studio / load_hosts

Method load_hosts

src/ui/host_list.py:130–134  ·  view source on GitHub ↗
(self, hosts: list)

Source from the content-addressed store, hash-verified

128 pass
129
130 def load_hosts(self, hosts: list):
131 self.hosts = hosts
132 self.filtered_hosts = hosts.copy()
133 self._refresh_view()
134 self._update_empty_state()
135
136 def filter_hosts(self, query: str):
137 self.current_filter = query.lower()

Callers 5

update_uiMethod · 0.80
_on_save_clickedMethod · 0.80
_write_and_reloadMethod · 0.80
undo_addMethod · 0.80
_on_undo_clickedMethod · 0.80

Calls 2

_refresh_viewMethod · 0.95
_update_empty_stateMethod · 0.95

Tested by

no test coverage detected