Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apenwarr/sshuttle
/ isValid
Method
isValid
ui-macos/models.py:93–98 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
91
config_changed()
92
93
def
isValid(self):
94
if
not self.host():
95
return
False
96
if
self.autoNets() == NET_MANUAL and not len(list(self.nets())):
97
return
False
98
return
True
99
100
def
title(self):
101
host = self.host()
Callers
nothing calls this directly
Calls
3
host
Method · 0.95
autoNets
Method · 0.95
nets
Method · 0.95
Tested by
no test coverage detected