Function file_system::delete_file_if_exist [−][src]
pub fn delete_file_if_exist<P: AsRef<Path>>(file: P) -> Result<bool>
Deletes given path from file system. Returns true
on success, false
if the file doesn’t exist.
Otherwise the raw error will be returned.