Skip to main content

run_scaffold_local_hook_impl

Function run_scaffold_local_hook_impl 

Source
pub fn run_scaffold_local_hook_impl(args: ScaffoldLocalHookArgs) -> Result<()>
Expand description

Scaffold a repo-specific .git-hooks/local-<hook> file from a kind template.

ยงErrors

Returns an error if the kind is unknown, the template is missing, or filesystem access fails.