Skip to main content

rm_path

Function rm_path 

Source
pub fn rm_path(path: &Path, config: &RmConfig) -> Result<bool, Error>
Expand description

Remove a single path according to the given configuration.

Returns Ok(true) on success, Ok(false) on non-fatal failure (e.g. the user declined a prompt, or the path was skipped), and Err on I/O errors that should propagate.