Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
def
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
37
def
write_json(path, value):
Callers
9
dependency_controls
Function · 0.90
bundle
Function · 0.90
native_log
Function · 0.90
image_mismatch
Function · 0.90
existing_output
Function · 0.90
invalid_registry
Function · 0.90
bounds
Function · 0.90
main
Function · 0.90
identity
Function · 0.70
Calls
3
open
Method · 0.80
update
Method · 0.80
read
Method · 0.45
Tested by
1
main
Function · 0.72