hooks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 21 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CheckAndUpsert

func CheckAndUpsert(hookType HookType, force bool) error

Check whether SalsaFlow git hook is used. Prompts user to install our hook if it isn't.

When the force argument is set to true, the hook is replaced when though the version matches.

func IdentifyYourself

func IdentifyYourself()

func PrintUnassignedWarning added in v0.7.0

func PrintUnassignedWarning(writer io.Writer, commits []*git.Commit) (n int64, err error)

Types

type HookType

type HookType string
const (
	HookTypeCommitMsg    HookType = "commit-msg"
	HookTypePostCheckout HookType = "post-checkout"
	HookTypePrePush      HookType = "pre-push"
)

Jump to

Keyboard shortcuts

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