hooks

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Override string

Override allows tests to control where the hooks directory is.

Functions

func Path

func Path() string

Path returns the path where the global git hooks are located. If the environment variable GITALY_TESTING_NO_GIT_HOOKS is set to "1", Path will return an empty directory, which has the effect that no Git hooks will run at all.

Types

This section is empty.

Jump to

Keyboard shortcuts

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