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

Method _update_host_option

src/ui/host_editor.py:1113–1118  ·  view source on GitHub ↗

Helper to update or remove a single SSH option on the current host.

(self, key: str, value: str)

Source from the content-addressed store, hash-verified

1111 )
1112
1113 def _update_host_option(self, key: str, value: str):
1114 """Helper to update or remove a single SSH option on the current host."""
1115 if value.strip():
1116 self.current_host.set_option(key, value.strip())
1117 else:
1118 self.current_host.remove_option(key)
1119
1120 def _update_custom_options(self):
1121 """Updates custom options on the current host based on the listbox content."""

Callers

nothing calls this directly

Calls 2

set_optionMethod · 0.80
remove_optionMethod · 0.80

Tested by

no test coverage detected