hooks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const FAILED_EXIT_CODE = 65 // EX_DATAERR - hooks didn't pass
View Source
const HOOK = "pre-commit"
View Source
const NOTHING_STAGED_EXIT_CODE = 66 // EX_NOINPUT

Variables

This section is empty.

Functions

func PreCommit

func PreCommit(c *context.Context) error

Types

type Result

type Result struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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