MCPcopy 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
252def 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
257def job(msg=""):

Callers 1

digestMethod · 0.85

Calls 1

openMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…