Skip to main content

hook_body

Function hook_body 

Source
pub fn hook_body() -> &'static [u8] 
Expand description

The whole hook, byte for byte: blocks/post-merge-hook.sh verbatim, final newline included.

No set -eu on purpose: the contract is exit 0 always, and the || : plus the final line hold it. The probes are per verb, because during a transition a binary exists that carries one prune verb and not the other; one probe for both would silence the half that works or admit the half that does not.