Versions in this module Expand all Collapse all v0 v0.9.0 Oct 2, 2026 v0.8.0 Oct 1, 2026 Changes in this version + const DefaultTimeout + func Execute(ctx context.Context, hooks *config.Hooks, phase, workDir string, logger Logger) error + func ExecuteCommands(ctx context.Context, commands []string, workDir string, logger Logger) error + func HasUnsafeCharacters(cmd string) bool + func Merge(global, local *config.Hooks) *config.Hooks + func ParseCommand(cmd string) []string + func Validate(hooks *config.Hooks) error + func ValidateCommands(commands []string) error + type Logger interface + Info func(msg string, keysAndValues ...any)