MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / sc

Method sc

ui-macos/main.py:366–370  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

364 models.configchange_callback = my.DelayedCallback(self.save_servers)
365
366 def sc(server):
367 if server.wantConnect():
368 self._connect(server)
369 else:
370 self._disconnect(server)
371 models.setconnect_callback = sc
372
373

Callers

nothing calls this directly

Calls 3

_connectMethod · 0.95
_disconnectMethod · 0.95
wantConnectMethod · 0.80

Tested by

no test coverage detected