Skip to content

VaultTransaction.createFolder method

VaultTransaction › createFolder

Creates a folder (including missing ancestors), recording its removal as the inverse. A no-op if the folder already exists.

Signature:

createFolder(path: string): Promise<void>

Parameters:

ParameterTypeDescription
pathstringThe path of the folder to create.

Returns: Promise<void>A Promise that resolves when the folder exists.