happy-opfs • Docs
happy-opfs / appendFile
function appendFile(filePath, contents): AsyncVoidIOResult
Appends content to a file at the specified path.
Parameter | Type | Description |
---|---|---|
filePath |
string |
The path of the file to append to. |
contents |
WriteFileContent |
The content to append to the file. |
AsyncVoidIOResult
A promise that resolves to an AsyncIOResult
indicating whether the content was successfully appended.