Skip to content

DataAdapter.trashLocal method

DataAdapter › trashLocal

Official

Move to local trash. Files will be moved into the .trash folder at the root of the vault.

Signature:

trashLocal(normalizedPath: string): Promise<void>

Parameters:

ParameterTypeDescription
normalizedPathstringpath to file/folder, use {@link normalizePath} to normalize beforehand.

Returns: Promise<void>