pub fn delete_file(path: &str) -> Result<(), Error>
Deletes a file at the given path.
path: The file path to delete.
path
Returns: Ok(()) if the file was deleted successfully, or an Err with the error details.
Ok(())
Err