Documentation
¶
Index ¶
- type Matcher
- func (m *Matcher) AddConstraint(name, rawConstraint string) error
- func (m *Matcher) ChangeBaseVersion(version *semver.Version)
- func (m *Matcher) DeleteConstraint(name string)
- func (m *Matcher) GetConstraintsNames() []string
- func (m *Matcher) Has(name string) bool
- func (m *Matcher) Validate(name string) error
- func (m *Matcher) ValidateBaseVersion(baseVersion string) (string, error)
- func (m *Matcher) ValidateConstraint(rawConstraint string) error
- func (m *Matcher) ValidateModuleVersion(name string, version *semver.Version) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func (*Matcher) AddConstraint ¶
func (*Matcher) ChangeBaseVersion ¶
func (m *Matcher) ChangeBaseVersion(version *semver.Version)
func (*Matcher) DeleteConstraint ¶
func (*Matcher) GetConstraintsNames ¶ added in v1.67.6
func (*Matcher) ValidateBaseVersion ¶
func (*Matcher) ValidateConstraint ¶
func (*Matcher) ValidateModuleVersion ¶ added in v1.67.6
ValidateModuleVersions ignores prerelease/metadata part when comparing versions
Click to show internal directories.
Click to hide internal directories.