Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
def
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
55
def
drain(pipe, destination, state, stop):
Callers
2
run_case
Function · 0.85
main
Function · 0.85
Calls
2
open
Method · 0.80
write
Method · 0.45
Tested by
no test coverage detected