fn pseudo_impl( dir: &str, to_name: &str, transform: &impl Fn(&str) -> Cow<'_, str>, check: bool, verbose: bool, )