DataAdapter.trashSystem method
DataAdapter › trashSystem
Official
Try moving to system trash.Signature:
trashSystem(normalizedPath: string): Promise<boolean>Parameters:
| Parameter | Type | Description |
|---|---|---|
| normalizedPath | string | path to file/folder, use {@link normalizePath} to normalize beforehand. |
Returns: Promise<boolean> — Returns true if succeeded. This can fail due to system trash being disabled.