MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / _is_ip

Function _is_ip

sshuttle/hostwatch.py:33–34  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

31
32
33def _is_ip(s):
34 return re.match(r'\d+\.\d+\.\d+\.\d+$', s)
35
36
37def write_host_cache():

Callers 2

_check_etc_hostsFunction · 0.85
check_hostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected