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