CargoTomlHandler
CargoTomlHandler<
C> = (toml,args) =>Operation<PolicyHandlerResult> |Promise<PolicyHandlerResult>
Defined in: policyDefiners/defineCargoPolicy.ts:28
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<PolicyHandlerResult> | Promise<PolicyHandlerResult>
Remarks
Section titled “Remarks”Receives the parsed TOML content and the standard policy arguments.