Vault.read method
Vault › read
Official
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 |
Since: 0.9.7