DataAdapter โ€บ trashSystem

DataAdapter.trashSystem() method

Try moving to system trash.

Signature:

trashSystem(normalizedPath: string): Promise<boolean>;

Parameters

ParameterTypeDescription
normalizedPathstringpath to file/folder, use normalizePath() to normalize beforehand.

Returns:

Promise<boolean>

Returns true if succeeded. This can fail due to system trash being disabled.