MCPcopy Index your code
hub / github.com/BuddySirJava/SSH-Studio / get_option

Method get_option

src/ssh_config_parser.py:76–80  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

74 return host
75
76 def get_option(self, key: str) -> Optional[str]:
77 for opt in self.options:
78 if opt.key.lower() == key.lower():
79 return opt.value
80 return None
81
82 def set_option(self, key: str, value: str) -> None:
83 for opt in self.options:

Callers 5

validateMethod · 0.80
filter_hostsMethod · 0.80
_refresh_viewMethod · 0.80
load_hostMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected