FileManager.trashFile method
FileManager › trashFile
Official
Remove a file or a folder from the vault according the user's preferred 'trash' options (either moving the file to .trash/ or the OS trash bin).Signature:
trashFile(file: TAbstractFile): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| file | TAbstractFile |
Since: 1.6.6