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
Parameter | Type | Description |
---|---|---|
normalizedPath | string | path to file/folder, use normalizePath() to normalize beforehand. |
Returns:
Promise<void>