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

Function save_json

tests/test_coverage_flush.py:49–52  ·  view source on GitHub ↗
(path, value)

Source from the content-addressed store, hash-verified

47
48
49def save_json(path, value):
50 with path.open("x", encoding="utf-8") as stream:
51 json.dump(value, stream, indent=2, sort_keys=True)
52 stream.write("\n")
53
54
55def drain(pipe, destination, state, stop):

Callers 2

run_caseFunction · 0.85
mainFunction · 0.85

Calls 2

openMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected