MCPcopy Index your code
hub / github.com/nodejs/node / createLargeFile

Function createLargeFile

test/parallel/test-fs-promises-readfile.js:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18);
19
20async function createLargeFile() {
21 // Writing buffer to a file then try to read it
22 await writeFile(fn, largeBuffer);
23}
24
25async function validateReadFile() {
26 const readBuffer = await readFile(fn);

Callers 1

Calls 1

writeFileFunction · 0.70

Tested by

no test coverage detected