appendFile

abstract suspend external fun appendFile(data: String): Void(source)


abstract suspend external fun appendFile(data: String, options: FileHandleAppendFileAsyncOptions? = definedExternally): Void(source)
abstract suspend external fun appendFile(data: String, options: BufferEncoding? = definedExternally): Void(source)
abstract suspend external fun appendFile(data: Uint8Array<*>): Void(source)
abstract suspend external fun appendFile(data: Uint8Array<*>, options: FileHandleAppendFileAsyncOptions? = definedExternally): Void(source)
abstract suspend external fun appendFile(data: Uint8Array<*>, options: BufferEncoding? = definedExternally): Void(source)

Alias of filehandle.writeFile().

When operating on file handles, the mode cannot be changed from what it was set to with fsPromises.open(). Therefore, this is equivalent to filehandle.writeFile().

Since

v10.0.0

Return

Fulfills with undefined upon success.