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

Method remove_host

src/ssh_config_parser.py:140–145  ·  view source on GitHub ↗
(self, host: SSHHost)

Source from the content-addressed store, hash-verified

138 self.hosts.append(host)
139
140 def remove_host(self, host: SSHHost) -> bool:
141 try:
142 self.hosts.remove(host)
143 return True
144 except ValueError:
145 return False
146
147
148class SSHConfigParser:

Callers 2

undo_addMethod · 0.80
_on_host_deletedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected