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

Function _digest

scripts/test-impact/profile_map_v2.py:688–696  ·  view source on GitHub ↗
(data, gate)

Source from the content-addressed store, hash-verified

686
687
688def _digest(data, gate):
689 digest = hashlib.sha256()
690 for start in range(0, len(data), _POLL_INTERVAL):
691 gate.poll()
692 chunk = data[start:start + _POLL_INTERVAL]
693 gate.poll()
694 digest.update(chunk)
695 gate.poll()
696 return digest.digest()
697
698
699def build_profile_map_v2(

Callers 1

build_profile_map_v2Function · 0.85

Calls 3

rangeFunction · 0.85
updateMethod · 0.80
pollMethod · 0.45

Tested by

no test coverage detected