Documentation
¶
Index ¶
- Variables
- type Author
- type Component
- type Manager
- func (m *Manager) GetAuthors() ([]Author, error)
- func (m *Manager) GetCurrentBranch() (string, error)
- func (m *Manager) GetCurrentTagSemver() (optional.Val[SemverTag], error)
- func (m *Manager) GetTagsAll() ([]*plumbing.Reference, error)
- func (m *Manager) GetTagsSemver() ([]SemverTag, error)
- func (m *Manager) GetTagsSemverMax() (*SemverTag, error)
- func (m *Manager) GetTagsSemverTopN(n int) ([]SemverTag, error)
- func (m *Manager) IncrementSemverTag(c Component) (*SemverTag, *SemverTag, error)
- type SemverTag
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) GetAuthors ¶ added in v0.12.0
func (*Manager) GetCurrentBranch ¶ added in v0.9.0
func (*Manager) GetCurrentTagSemver ¶ added in v0.7.0
GetCurrentTagSemver return a tag if that is presented for current commit. It will ignore all non-semver tags.
func (*Manager) GetTagsSemver ¶
GetTagsSemver returns only semver tags
func (*Manager) GetTagsSemverMax ¶
GetTagsSemverMax return tag that point to max semver version
func (*Manager) GetTagsSemverTopN ¶
GetTagsSemverTopN return top n semver tags
Click to show internal directories.
Click to hide internal directories.