Skip to main content

Module trash

Module trash 

Source
Expand description

Trash support - safe deletion with recovery

Provides cross-platform trash functionality so users can recover accidentally deleted files.

Structs§

TrashRecord
Record of a trashed item
TrashRecordStore
Storage for trash records

Enums§

DeleteMethod
Delete method for cleanup operations

Functions§

delete_artifact
Delete an artifact
delete_path
Delete a path using the specified method
get_trash_dir
Get the trash directory for the current platform
get_trash_size
Get the size of items in trash
is_trash_available
Check if trash is available on this system