pub fn rm_f<P: AsRef<Path>>(path: P) -> Result<()>Expand description
Removes the file at the specified path, ignoring if the file does not exist.
ยงErrors
- A filesystem operation (open/read/write/remove) fails.
- An unexpected I/O failure (other than
std::io::ErrorKind::NotFound) occurs.