pub fn remove_file<P: AsRef<Path>>(path: P) -> Result<(), Error>Expand description
Removes a file or directory at this path, after removing all its contents.
This function does not follow symbolic links: it will simply remove the symbolic link itself.
ยงErrors
Returns the underlying I/O errors that occurred.