Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
Hook *config.Hook
HasRun bool
Output map[string]string
// contains filtered or unexported fields
}
Command is an internal representation of a hook command. Used to execute the hook
func GetCommand ¶
GetCommand creates a new command or return command from cache if it has already been created before. Cache key is based on full path for command including arguments
Click to show internal directories.
Click to hide internal directories.