Skip to main content

finalize_release

Function finalize_release 

Source
pub fn finalize_release(
    contract: &DistributionContract,
    plan: &ReleasePlan,
    request: &FinalizationRequest,
    output_root: &Path,
) -> Result<FinalizedRelease, CoreError>
Expand description

Finalize candidate bytes under an initially absent, caller-selected private directory.

Required targets must have passing qualification. Non-gating/experimental targets may remain deferred, but still need complete candidate byte evidence. All outputs are written under output_root; on any error this invocation removes only the root it created. The parent directory must be caller-secured/private on Windows (its ACL is inherited); Unix output roots are restricted to mode 0700.