fn change(&mut self) -> Result<()> {
        for path in self.options.paths.to_owned() {
            if !self.options.suppress && path.has_root() {
                // Authorize absolute paths (optional)
                if let Ok(false) = self.authorize(&path, Context::Absolute) {
                    continue;
                }
            }

            // Dig through directories
            if path.is_file() {
                self.change_one(&path)?;
            } else if path.is_dir() {
                self.change_many(&path)?;
            }
        }
        return Ok(());
    }
/// Changes all paths provided by the user. Authorization may be requested
/// if the `suppress` option is not present.
Changes all paths provided by the user. Authorization may be requested
if the `suppress` option is not present.
Changes all paths provided by the user . Authorization may be requested if the ` suppress ` option is not present .
fn change(&mut self) -> Result<()> {
        for path in self.options.paths.to_owned() {
            if !self.options.suppress && path.has_root() {
                // Authorize absolute paths (optional)
                if let Ok(false) = self.authorize(&path, Context::Absolute) {
                    continue;
                }
            }
            // Dig through directories
            if path.is_file() {
                self.change_one(&path)?;
            } else if path.is_dir() {
                self.change_many(&path)?;
            }
        }
        return Ok(());
    }
fn change ( & mut self ) -> Result < ( ) > { for path in self . options . paths . to_owned ( ) { if ! self . options . suppress && path . has_root ( ) { // Authorize absolute paths (optional) if let Ok ( false ) = self . authorize ( & path , Context :: Absolute ) { continue ; } } // Dig through directories if path . is_file ( ) { self . change_one ( & path ) ? ; } else if path . is_dir ( ) { self . change_many ( & path ) ? ; } } return Ok ( ( ) ) ; }
Changes all paths provided by the user.
Changes all paths provided by the user .
&mut self