pub fn scan_trash(trash_dir: &Path) -> Result<Vec<TrashEntry>>Expand description
Scan a trash directory (the parent of info/ and files/) and pair every
info/<name>.trashinfo with its files/<name> content.
The content name is derived from the trashinfo basename, never from the
Path= stored inside it. A .trashinfo whose files/<name> is absent yields
an entry with content_path == None.
§Errors
Propagates any I/O error from reading the info/ directory.