Module trashcan

Moving files and directories to trash can.

Functions

NameDescription
moveToTrash(path, options) Move file or directory to trash can.

Interfaces

NameDescription
ITrashcan Interface to trashcan.

Classes

NameDescription
Trashcan Implementation of ITrashcan. This class may have additional platform-dependent functions and different constructors. This class is currently available only for Windows and Freedesktop (GNU/Linux, FreeBSD, etc.) platforms.

Structs

NameDescription
TrashcanItem Item (file or folder) stored in the trashcan.

Enums

NameDescription
TrashOptions Flags to rule the trashing behavior.