MCPcopy
hub / github.com/QwikDev/qwik / writeFileLines

Function writeFileLines

scripts/docs_sync/util.ts:61–65  ·  view source on GitHub ↗
(file: string, lines: string[])

Source from the content-addressed store, hash-verified

59}
60
61export async function writeFileLines(file: string, lines: string[]) {
62 return new Promise((res, rej) =>
63 writeFile(file, lines.join('\n'), (err) => (err ? rej(err) : res(null)))
64 );
65}

Callers 2

mainFunction · 0.90
scanForDocDirectiveFunction · 0.90

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…