Vault โ€บ read

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

ParameterTypeDescription
fileTFile

Returns:

Promise<string>