Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sshuttle/sshuttle
/ get_module_source
Function
get_module_source
sshuttle/ssh.py:18–21 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
16
17
18
def
get_module_source(name):
19
spec = importlib.util.find_spec(name)
20
with
open(spec.origin,
"rt"
)
as
f:
21
return
f.read().encode(
"utf-8"
)
22
23
24
def
empackage(z, name, data=None):
Callers
2
empackage
Function · 0.85
connect
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected