MCPcopy Index your code
hub / github.com/nodejs/node / #isAppend

Method #isAppend

lib/internal/vfs/file_handle.js:425–428  ·  view source on GitHub ↗

* Returns true if this handle was opened in append mode. * @returns {boolean}

()

Source from the content-addressed store, hash-verified

423 * @returns {boolean}
424 */
425 #isAppend() {
426 const f = this.flags;
427 return f === 'a' || f === 'a+' || f === 'ax' || f === 'ax+';
428 }
429
430 /**
431 * Gets the current content synchronously.

Callers 2

writeSyncMethod · 0.95
writeFileSyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected