MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / digest

Function digest

tests/coverage_live_v2_support.py:29–34  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

27
28
29def digest(path):
30 result = hashlib.sha256()
31 with Path(path).open("rb") as stream:
32 for block in iter(lambda: stream.read(65536), b""):
33 result.update(block)
34 return result.hexdigest()
35
36
37def write_json(path, value):

Callers 9

dependency_controlsFunction · 0.90
bundleFunction · 0.90
native_logFunction · 0.90
image_mismatchFunction · 0.90
existing_outputFunction · 0.90
invalid_registryFunction · 0.90
boundsFunction · 0.90
mainFunction · 0.90
identityFunction · 0.70

Calls 3

openMethod · 0.80
updateMethod · 0.80
readMethod · 0.45

Tested by 1

mainFunction · 0.72