pub fn apply_rewrites_in_tree( root: &Path, exclude_google: bool, module_suffixes: &[String], allowed_basenames: Option<&HashSet<String>>, ) -> Result<usize>