MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / writeKnowledgeOutput

Function writeKnowledgeOutput

src/formatter.ts:709–719  ·  view source on GitHub ↗
(
  map: KnowledgeMap,
  outputDir: string,
  projectName: string,
  version: string
)

Source from the content-addressed store, hash-verified

707}
708
709export async function writeKnowledgeOutput(
710 map: KnowledgeMap,
711 outputDir: string,
712 projectName: string,
713 version: string
714): Promise<string> {
715 await mkdir(outputDir, { recursive: true });
716 const content = formatKnowledge(map, projectName, version);
717 await writeFile(join(outputDir, "KNOWLEDGE.md"), content);
718 return content;
719}

Callers 1

runKnowledgeScanFunction · 0.85

Calls 2

formatKnowledgeFunction · 0.85
joinFunction · 0.85

Tested by

no test coverage detected