MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / verify_git_publication

Function verify_git_publication

atomic-cli/src/commands/git/shadow.rs:201–207  ·  view source on GitHub ↗

Verify a mandatory CB-4B publication gate for a Git-backed command.

(
    repo: &Repository,
    repo_root: &Path,
    view: &str,
)

Source from the content-addressed store, hash-verified

199
200/// Verify a mandatory CB-4B publication gate for a Git-backed command.
201pub(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
209fn verify_git_publication_mode(
210 repo: &Repository,

Callers 2

runMethod · 0.85

Calls 1

Tested by

no test coverage detected