Verify a mandatory CB-4B publication gate for a Git-backed command.
(
repo: &Repository,
repo_root: &Path,
view: &str,
)
| 199 | |
| 200 | /// Verify a mandatory CB-4B publication gate for a Git-backed command. |
| 201 | pub(crate) fn verify_git_publication( |
| 202 | repo: &Repository, |
| 203 | repo_root: &Path, |
| 204 | view: &str, |
| 205 | ) -> CliResult<VerifiedPublication> { |
| 206 | verify_git_publication_mode(repo, repo_root, view, true) |
| 207 | } |
| 208 | |
| 209 | fn verify_git_publication_mode( |
| 210 | repo: &Repository, |
no test coverage detected