Skip to main content

hook_names

Function hook_names 

Source
pub fn hook_names(kind: HookKind) -> &'static [&'static str]
Expand description

The names kind installs.

Both yields ["pre-commit", "pre-push"] in that order, so pre-commit is installed before pre-push and a failure in one does not change the other.