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:

Parameter Type Description
normalizedPath string path to file/folder, use {@link normalizePath} to normalize beforehand.

Returns: Promise<void>