Skip to content

CargoTomlHandler

CargoTomlHandler<C> = (toml, args) => Operation<PolicyResult> | Promise<PolicyResult>

Defined in: policyDefiners/defineCargoPolicy.ts:31

A policy handler for Cargo.toml policies.

C

CargoToml

PolicyArgs<C>

Operation<PolicyResult> | Promise<PolicyResult>

Receives the parsed TOML content and the standard policy arguments.