Documentation
¶
Overview ¶
Package commit provides the transport structures used to unmarshal the commit configuration from config files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
// Msg stores the transport representation of the commit message config.
Msg message.Message `yaml:"message,omitempty"`
// Scope stores the transport representation of the commit scope config.
Scope value.Pattern `yaml:"scope,omitempty"`
// Types stores the transport representation of the accepted commit types.
Types value.Strings `yaml:"types,omitempty"`
}
Commit is the transport representation of the commit config.
Commit groups the commit message, scope, and accepted commit types and converts them into the domain commit.Config consumed by the linter.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package message provides the transport structures used to unmarshal the commit message configuration from config files.
|
Package message provides the transport structures used to unmarshal the commit message configuration from config files. |
|
body
Package body provides the transport structures used to unmarshal the commit message body configuration from config files.
|
Package body provides the transport structures used to unmarshal the commit message body configuration from config files. |
|
body/mandate
Package mandate provides the transport structures used to unmarshal the commit message body mandate configuration from config files, describing the commit types for which the commit message body is mandatory.
|
Package mandate provides the transport structures used to unmarshal the commit message body mandate configuration from config files, describing the commit types for which the commit message body is mandatory. |
|
subject
Package subject provides the transport structures used to unmarshal the commit message subject configuration from config files.
|
Package subject provides the transport structures used to unmarshal the commit message subject configuration from config files. |
|
subject/description
Package description provides the transport structures used to unmarshal the commit message subject description configuration from config files.
|
Package description provides the transport structures used to unmarshal the commit message subject description configuration from config files. |
Click to show internal directories.
Click to hide internal directories.