Documentation ¶ Index ¶ Variables func Path() string 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. Source Files ¶ View all Source files hooks.go Click to show internal directories. Click to hide internal directories.