MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / writeFile

Function writeFile

dev/local/env-sync/plan.test.ts:15–19  ·  view source on GitHub ↗
(root: string, relPath: string, content: string)

Source from the content-addressed store, hash-verified

13
14type TestRepo = {
15 root: string;
16 cleanup: () => void;
17};
18
19function writeFile(root: string, relPath: string, content: string): void {
20 const filePath = path.join(root, relPath);
21 fs.mkdirSync(path.dirname(filePath), { recursive: true });
22 fs.writeFileSync(filePath, content, 'utf-8');

Callers 10

createRepoFunction · 0.70
plan.test.tsFile · 0.70
writeOutputFunction · 0.50
writeEmailToLocalOutboxFunction · 0.50
monitorActivityFunction · 0.50
runFunction · 0.50
runFunction · 0.50
verifyApprovalFunction · 0.50
safe-mode.test.tsFile · 0.50

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected