Skip to main content

Module hooks

Module hooks 

Source

Structs§

HookOptions
Options for running hooks.

Functions§

cleanup_temp_commit_file
Cleanup function for temp commit file - call this after commit is done
run_hooks
Execute a list of hook commands with the given options.
write_temp_commit_file
Utility to write/read a temporary commit message file for hooks to modify. Uses NamedTempFile to avoid memory leaks while keeping the file accessible.