(
&self,
prospective: &ProjectTree,
commits: &[VerifiedImportCommit],
branch_name: &str,
git: &GitRepository,
)
| 4442 | } |
| 4443 | |
| 4444 | fn verify_changed_worktree_paths( |
| 4445 | &self, |
| 4446 | prospective: &ProjectTree, |
| 4447 | commits: &[VerifiedImportCommit], |
| 4448 | branch_name: &str, |
| 4449 | git: &GitRepository, |
| 4450 | ) -> CliResult<()> { |
| 4451 | let mut changed = std::collections::BTreeSet::new(); |
| 4452 | for commit in commits { |
| 4453 | for file in &commit.parsed.files { |
| 4454 | changed.insert(file.path.as_str()); |
| 4455 | if let Some(old_path) = file.old_path.as_deref() { |
| 4456 | changed.insert(old_path); |
| 4457 | } |
| 4458 | } |
| 4459 | } |
| 4460 | self.verify_worktree_path_set(prospective, changed, branch_name, git) |
| 4461 | } |
| 4462 | |
| 4463 | fn verify_worktree_path_set<'a>( |
| 4464 | &self, |
no test coverage detected