(
repo: &Repository,
repo_root: &Path,
view: &str,
require_index_equivalence: bool,
)
| 207 | } |
| 208 | |
| 209 | fn verify_git_publication_mode( |
| 210 | repo: &Repository, |
| 211 | repo_root: &Path, |
| 212 | view: &str, |
| 213 | require_index_equivalence: bool, |
| 214 | ) -> CliResult<VerifiedPublication> { |
| 215 | let git_repo = GitRepository::discover(repo_root) |
| 216 | .map_err(|error| git_error(format!("cannot discover Git repository: {error}")))?; |
| 217 | let (policy, filters) = current_conversion_policy(repo_root, &git_repo)?; |
| 218 | verify_git_publication_with_policy( |
| 219 | repo, |
| 220 | repo_root, |
| 221 | view, |
| 222 | policy, |
| 223 | filters, |
| 224 | require_index_equivalence, |
| 225 | None, |
| 226 | ) |
| 227 | } |
| 228 | |
| 229 | /// Verify publication equivalence against a caller-supplied project tree. |
| 230 | /// |
no test coverage detected