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

Function write_json

tests/coverage_live_v2_support.py:37–40  ·  view source on GitHub ↗
(path, value)

Source from the content-addressed store, hash-verified

35
36
37def write_json(path, value):
38 with Path(path).open("x", encoding="utf-8") as stream:
39 json.dump(value, stream, indent=2, sort_keys=True)
40 stream.write("\n")
41
42
43def clean_env():

Callers 3

registryMethod · 0.90
mainFunction · 0.90
runMethod · 0.70

Calls 2

openMethod · 0.80
writeMethod · 0.45

Tested by 2

registryMethod · 0.72
mainFunction · 0.72