Skip to main content

remove_file_force

Function remove_file_force 

Source
pub fn remove_file_force(path: &Path) -> Result<()>
Expand description

Remove the regular file at path. On Windows a read-only file refuses deletion, so the attribute is cleared first when that is the refusal: a moved file’s original and a discarded partial copy both have to go.