Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ readJson
Function
readJson
apps/kimi-code/scripts/native/assets.mjs:40–42 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
38
}
39
40
async
function
readJson(path) {
41
return
JSON.parse(
await
readFile(path,
'utf-8'
));
42
}
43
44
async
function
listFiles(root) {
45
const
files = [];
Callers
1
collectPackageFiles
Function · 0.70
Calls
1
readFile
Function · 0.50
Tested by
no test coverage detected