Vault.modify method
Vault › modify
Official
Modify the contents of a plaintext file.Signature:
modify(file: TFile, data: string, options?: DataWriteOptions | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| file | TFile | The file. |
| data | string | The file content. |
| options? | DataWriteOptions | undefined | Write options. |
Since: 0.9.7