Skip to content

FileManager.getTrashOption method

FileManager › getTrashOption

Unofficial

Gets the trashOption setting that deletion actually uses: system falls back to local where obsidian#Platform cannot use the system trash.

Signature:

getTrashOption(): 'local' | 'none' | 'system'

Returns: 'local' | 'none' | 'system' — Where deleted files go.