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

Method remove_option

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

Source from the content-addressed store, hash-verified

87 self.options.append(SSHOption(key=key, value=value))
88
89 def remove_option(self, key: str) -> bool:
90 for i, opt in enumerate(self.options):
91 if opt.key.lower() == key.lower():
92 del self.options[i]
93 return True
94 return False
95
96
97@dataclass

Callers 2

update_if_touchedMethod · 0.80
_update_host_optionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected