MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / writeFlat

Function writeFlat

packages/agent-core/test/skill/parser.test.ts:284–286  ·  view source on GitHub ↗
(root: string, name: string, lines: readonly string[])

Source from the content-addressed store, hash-verified

282}
283
284async function writeFlat(root: string, name: string, lines: readonly string[]): Promise<void> {
285 await writeFile(path.join(root, name), lines.join('\n'));
286}
287
288async function writeFlatOrSubdirSkill(
289 root: string,

Callers 1

parser.test.tsFile · 0.85

Calls 1

writeFileFunction · 0.50

Tested by

no test coverage detected