MCPcopy 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
40async function readJson(path) {
41 return JSON.parse(await readFile(path, 'utf-8'));
42}
43
44async function listFiles(root) {
45 const files = [];

Callers 1

collectPackageFilesFunction · 0.70

Calls 1

readFileFunction · 0.50

Tested by

no test coverage detected