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

Method appendFileSync

lib/internal/vfs/file_system.js:282–285  ·  view source on GitHub ↗

* Appends to a file synchronously. * @param {string} filePath The path to append to * @param {Buffer|string} data The data to append * @param {object} [options] Options

(filePath, data, options)

Source from the content-addressed store, hash-verified

280 * @param {object} [options] Options
281 */
282 appendFileSync(filePath, data, options) {
283 const providerPath = this.#toProviderPath(filePath);
284 this[kProvider].appendFileSync(providerPath, data, options);
285 }
286
287 /**
288 * Reads directory contents synchronously.

Callers

nothing calls this directly

Calls 1

#toProviderPathMethod · 0.95

Tested by

no test coverage detected