MCPcopy
hub / github.com/google-gemini/gemini-cli / createFile

Method createFile

packages/test-utils/src/test-rig.ts:524–528  ·  view source on GitHub ↗
(fileName: string, content: string)

Source from the content-addressed store, hash-verified

522 }
523
524 createFile(fileName: string, content: string) {
525 const filePath = join(this.testDir!, fileName);
526 writeFileSync(filePath, content);
527 return filePath;
528 }
529
530 mkdir(dir: string) {
531 mkdirSync(join(this.testDir!, dir), { recursive: true });

Calls

no outgoing calls

Tested by 1

runTestCaseFunction · 0.64