Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConditionCreationFunc ¶
func ConditionCreationFunc(path []string) (func(appIO io.IO, conf *configuration.Configuration, repo git.Repo) hooks.Condition, error)
func NewExternalCommand ¶
func NewExternalCommand(appIO io.IO, conf *configuration.Configuration, repo git.Repo) hooks.Condition
Types ¶
type ExternalCommand ¶
type ExternalCommand struct {
// contains filtered or unexported fields
}
func (*ExternalCommand) IsApplicableFor ¶
func (c *ExternalCommand) IsApplicableFor(hook string) bool
func (*ExternalCommand) IsTrue ¶
func (c *ExternalCommand) IsTrue(condition *configuration.Condition) bool
Click to show internal directories.
Click to hide internal directories.