Crate trash_lib

Source

Modules§

percent_path
trash_entry
trash_info

Macros§

ok_log

Enums§

Error

Constants§

DIR_COPY_OPT
FILE_COPY_OPT
TRASH_INFO_EXT

Statics§

TRASH_DIR
TRASH_FILE_DIR
TRASH_INFO_DIR

Functions§

empty
Removes all trash_entries and optionally removes stray files.
put
Put a list of paths into the trash and returns the newly created trash_entries. Will panic if the paths are empty!
remove
Helper function
restore
Helper function