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

Function writeFile

lib/internal/vfs/setup.js:588–590  ·  view source on GitHub ↗
(path, data, options)

Source from the content-addressed store, hash-verified

586 return undefined;
587 },
588 writeFile(path, data, options) {
589 return vfsOp(path, (vfs, n) => vfs.promises.writeFile(n, data, options).then(() => true));
590 },
591 appendFile(path, data, options) {
592 return vfsOp(path, (vfs, n) => vfs.promises.appendFile(n, data, options).then(() => true));
593 },

Callers

nothing calls this directly

Calls 3

vfsOpFunction · 0.85
thenMethod · 0.45
writeFileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…