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

Method json

scripts/test-impact/coverage_live_v2.py:270–275  ·  view source on GitHub ↗
(self, relative, value)

Source from the content-addressed store, hash-verified

268 return os.path.join(self.path, relative)
269
270 def json(self, relative, value):
271 data = (json.dumps(value, sort_keys=True, indent=2,
272 ensure_ascii=True) + "\n").encode("ascii")
273 if len(data) > 64 * 1024 * 1024:
274 _error("resource_limit", "metadata exceeds 64MiB bound")
275 return self.write(relative, data)
276
277 def publish(self, meta):
278 # A partial JSON file is never a commit marker. The pending complete

Callers 2

publishMethod · 0.95
collectFunction · 0.95

Calls 2

writeMethod · 0.95
_errorFunction · 0.85

Tested by

no test coverage detected