conditions

package
v0.0.0-...-6dcb528 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: MIT Imports: 13 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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