hooks

package
v0.0.0-...-4b98c26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHookFailed = errors.New("Hook exited with non-zero status")

ErrHookFailed is used when an hook script exits with a non-zero status

Functions

func Execute

func Execute(name string, args []string, fn func() error) error

Execute runs a pre-hook, then calls te function, and finally run the post-hook.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL