Skip to main content

verifyManagedToolchain

@hardkas/core


@hardkas/core / verifyManagedToolchain

Function: verifyManagedToolchain()

verifyManagedToolchain(ref, dir?): Promise<ToolchainVerification>

Defined in: packages/core/src/toolchains.ts:182

Checks an installed toolchain against its pin: every pinned file present with the pinned size and digest, nothing else besides the install record, and a record that names this exact release asset.

Parameters​

ref​

ManagedToolchainReference

dir?​

string = ...

Returns​

Promise<ToolchainVerification>