pub fn split_each( env: &Env, dir: &Path, blean: bool, interfaces: bool, each: &dyn Fn(), ) -> Result<Vec<PathBuf>>
split or split_interfaces, calling each after every file written.
split
split_interfaces
each