Documentation
¶
Overview ¶
Package config provides tools for loading conch.yml configuration files.
Index ¶
Constants ¶
View Source
const StandardFilename = "conch.yml"
Variables ¶
View Source
var ErrLocation = errors.New("location must be a valid directory")
View Source
var ErrVersion = errors.New("only version 1 is supported")
Functions ¶
Types ¶
type Config ¶
func Default ¶
func Default() *Config
Default returns the default configuration, which is used when the repository does not include its own configuration file.
type Description ¶
type Exclude ¶
type Exclude struct {
Prefixes util.CaseInsensitiveSet
}
type Policy ¶
type Policy struct {
Type
Scope
Description
}
type Scope ¶
type Scope struct {
Required bool
Scopes util.CaseInsensitiveSet
}
type Type ¶
type Type struct {
Types util.CaseInsensitiveSet
Minor util.CaseInsensitiveSet
Patch util.CaseInsensitiveSet
}
Click to show internal directories.
Click to hide internal directories.