MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / write

Function write

__tests__/expo-router.test.ts:426–430  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

424 });
425
426 function write(rel: string, content: string) {
427 const full = path.join(tmpDir!, rel);
428 fs.mkdirSync(path.dirname(full), { recursive: true });
429 fs.writeFileSync(full, content);
430 }
431
432 it('connects a component tap to the screen it navigates to', async () => {
433 tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-expo-router-'));

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected