Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitParser ¶
type CommitParser struct {
// contains filtered or unexported fields
}
type GitMono ¶
type GitMono struct {
// contains filtered or unexported fields
}
GitMono contains repository instance and command parameters
func OpenCurrentRepo ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) CommitHashByRevision ¶
type Tagger ¶
type Tagger struct {
// contains filtered or unexported fields
}
func (*Tagger) WriteTag ¶
func (t *Tagger) WriteTag(tagCommit *VersionedCommit) error
type VersionedCommit ¶
type VersionedCommit struct {
CommitID string
Version *version.Version
VersionPrefix string
Project string
}
func (*VersionedCommit) GetTag ¶
func (vc *VersionedCommit) GetTag() string
type Versioner ¶
type Versioner struct {
// contains filtered or unexported fields
}
func NewVersioner ¶
func (*Versioner) CurrentVersion ¶
func (v *Versioner) CurrentVersion() (*VersionedCommit, error)
func (*Versioner) InitVersion ¶
func (v *Versioner) InitVersion() ([]*VersionedCommit, error)
func (*Versioner) NewVersion ¶
func (v *Versioner) NewVersion() (*VersionedCommit, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.