CargoTomlHandler
CargoTomlHandler<
C> = (toml,args) =>Operation<PolicyResult> |Promise<PolicyResult>
Defined in: policyDefiners/defineCargoPolicy.ts:31
A policy handler for Cargo.toml policies.
Type Parameters
Section titled “Type Parameters”C
Parameters
Section titled “Parameters”PolicyArgs<C>
Returns
Section titled “Returns”Operation<PolicyResult> | Promise<PolicyResult>
Remarks
Section titled “Remarks”Receives the parsed TOML content and the standard policy arguments.