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

Function appendFile

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

Source from the content-addressed store, hash-verified

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 },
594 mkdir(path, options) {
595 return vfsOp(path, (vfs, n) =>
596 vfs.promises.mkdir(n, options).then((result) => ({ __proto__: null, result })));

Callers 1

wrap.jsFile · 0.50

Calls 3

vfsOpFunction · 0.85
thenMethod · 0.45
appendFileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…