Function fs_extra::remove_items
[−]
[src]
pub fn remove_items<P>(from_items: &Vec<P>) -> Result<()> where
P: AsRef<Path>,
Removes list files or directories.
Example
⚠Be careful when using this code, it's not being tested!
let mut from_paths = Vec::new(); from_paths.push("source/dir1"); from_paths.push("source/file.txt"); remove_items(&from_paths).unwrap();