* @typedef {import('./streams').WriteStream * } WriteStream * @param {{ * encoding?: string; * autoClose?: boolean; * emitClose?: boolean; * start: number; * highWaterMark?: number; * flush?: boolean; * }} [options] * @returns {WriteStream}
(options = undefined)
| 422 | * @returns {WriteStream} |
| 423 | */ |
| 424 | createWriteStream(options = undefined) { |
| 425 | const { WriteStream } = lazyFsStreams(); |
| 426 | return new WriteStream(undefined, { ...options, fd: this }); |
| 427 | } |
| 428 | |
| 429 | [kTransfer]() { |
| 430 | if (this[kClosePromise] || this[kRefs] > 1) { |
nothing calls this directly
no test coverage detected