Skip to main content

hooks_block

Function hooks_block 

Source
pub fn hooks_block(
    mode: CheckoutMode,
    integration: Integration,
    workflow_guards: bool,
) -> Result<String, RkError>
Expand description

The hook block for one checkout mode and one integration mode, with or without the workflow guards, from this binary’s embedded templates.

§Errors

A block this binary does not embed, a defect in the binary.