Skip to content

Vault.cachedRead method

Vault › cachedRead

Official

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>

Since: 0.9.7