MCPcopy Create free account
hub / github.com/ReactiveX/rxjs / writeSource

Function writeSource

packages/migrate/src/node.spec.ts:140–144  ·  view source on GitHub ↗
(localPath: string)

Source from the content-addressed store, hash-verified

138 }
139
140 async function writeSource(localPath: string): Promise<void> {
141 const path = join(sourceRoot, localPath);
142 await mkdir(dirname(path), { recursive: true });
143 await writeFile(path, 'export const value = 1;\n');
144 }
145});

Callers 1

node.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected