hooks

package
v14.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 2 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(cfg config.Cfg) 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