pub fn dump_trees( fs: &mut FS, patterns: &[Pattern], output_folder: &Path, version: &Patch, cache_dir: &Path, ) -> Result<()>