Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/docker/docker-py
/ get_context_id
Function
get_context_id
docker/context/config.py:49–50 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
47
48
49
def
get_context_id(name):
50
return
hashlib.sha256(name.encode(
'utf-8'
)).hexdigest()
51
52
53
def
get_context_dir():
Callers
2
get_meta_dir
Function · 0.85
get_tls_dir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected