Skip to content

Vault.append method

Vault › append

Official

Add text to the end of a plaintext file inside the vault.

Signature:

append(file: TFile, data: string, options?: DataWriteOptions | undefined): Promise<void>

Parameters:

Parameter Type Description
file TFile The file
data string the text to add
options? DataWriteOptions | undefined (Optional)

Returns: Promise<void>

Since: 0.13.0