Vault.read() method
Read a plaintext file that is stored inside the vault, directly from disk. Use this if you intend to modify the file content afterwards. Use Vault.cachedRead() otherwise for better performance.
Signature:
read(file: TFile): Promise<string>;Parameters
| Parameter | Type | Description |
|---|---|---|
file | TFile |
Returns:
Promise<string>