Vault
โบ cachedRead
Vault.cachedRead() method
Read the content of a plaintext file stored inside the vault Use this if you only want to display the content to the user. If you want to modify the file content afterward use Vault.read()
Signature:
cachedRead(file: TFile): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
file | TFile |
Returns:
Promise<string>