fn copy_project_local_optional_path( root: &Path, temp_dir: &Path, path: &Option<PathBuf>, handled_roots: &[PathBuf], ) -> Result<()>