Synced
BackendPrebuiltArchive.ExtractAsync
Section titled “BackendPrebuiltArchive.ExtractAsync”
- Checks a trusted archive digest, its declared target, inventory and payload before publishing a fresh consumer directory. The caller owns the destination and serializes its acquisition for the job.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static System.Threading.Tasks.Task Inno.Build.Toolchains.BackendPrebuiltArchive.ExtractAsync(string archivePath, string sha256, string target, string destination, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter archivePath: Downloaded or restored platform archive.
Parameter sha256: Expected archive digest from the authenticated release or candidate receipt.
Parameter target: Target selected by the consumer.
Parameter destination: An absent directory under a consumer-owned staging parent.
Parameter cancellationToken: Cancels extraction before publication.
Returns
Section titled “Returns”A task that completes after the verified directory is installed.