DataAdapter โ€บ trashLocal

DataAdapter.trashLocal() method

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 normalizePath() to normalize beforehand.

Returns:

Promise<void>