MCPcopy Create free account
hub / github.com/anus-dev/ANUS / createFile

Method createFile

integration-tests/test-helper.ts:183–187  ·  view source on GitHub ↗
(fileName: string, content: string)

Source from the content-addressed store, hash-verified

181 }
182
183 createFile(fileName: string, content: string) {
184 const filePath = join(this.testDir!, fileName);
185 writeFileSync(filePath, content);
186 return filePath;
187 }
188
189 mkdir(dir: string) {
190 mkdirSync(join(this.testDir!, dir), { recursive: true });

Callers 4

replace.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected