Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 777 Bytes

appendFile.md

File metadata and controls

30 lines (18 loc) · 777 Bytes

happy-opfsDocs


happy-opfs / appendFile

Function: appendFile()

function appendFile(filePath, contents): AsyncVoidIOResult

Appends content to a file at the specified path.

Parameters

Parameter Type Description
filePath string The path of the file to append to.
contents WriteFileContent The content to append to the file.

Returns

AsyncVoidIOResult

A promise that resolves to an AsyncIOResult indicating whether the content was successfully appended.

Defined in

fs/opfs_ext.ts:120