Skip to main content

is_hook_invoked

Function is_hook_invoked 

Source
pub fn is_hook_invoked(cmd: &Command) -> bool
Expand description

Commands that agents and git run from installed hooks. Their output is parsed (or shown inside the agent), so nothing extra may be printed there.