Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/dash
/ compute_hash
Function
compute_hash
dash/_utils.py:252–254 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
250
251
252
def
compute_hash(path):
253
with
io.open(path, encoding=
"utf-8"
)
as
fp:
254
return
hashlib.sha256(fp.read().encode(
"utf-8"
)).hexdigest()
255
256
257
def
job(msg=
""
):
Callers
1
digest
Method · 0.85
Calls
1
open
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…