Skip to main content

restore_paths

Function restore_paths 

Source
pub fn restore_paths(targets: &[PathBuf]) -> Vec<Result<(), String>>
Expand description

Put each of targets back from the Trash: for each, the most recently trashed item whose original location is that path. Must be called on the trash thread (via run). One result per target, in order.