Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool
Functions ¶
func DynamicScopeSuggestion ¶ added in v0.5.0
DynamicScopeSuggestion calculates the best possible scope for the current commit type based on history.
Types ¶
type ByCount ¶ added in v0.5.0
type ByCount []ScopeCount
type RemoteConfigData ¶ added in v0.5.1
type RemoteConfigData struct {
RemoteConfig *git.Remote
}
func (*RemoteConfigData) GetURL ¶ added in v0.5.1
func (r *RemoteConfigData) GetURL() (url string)
func (*RemoteConfigData) OrgName ¶ added in v0.5.1
func (r *RemoteConfigData) OrgName() (org string)
OrgName parses the repo name out of git@ssh.dev.azure.com:v3/{org}/{project}/{repo}
func (*RemoteConfigData) ProjectName ¶ added in v0.5.1
func (r *RemoteConfigData) ProjectName() (project string)
ProjectName parses the project name out of ssh://git@ssh.dev.azure.com:v3/{org}/{project}/{repo}
func (*RemoteConfigData) RepoName ¶ added in v0.5.1
func (r *RemoteConfigData) RepoName() (repo string)
RepoName parses the repo name out of git@ssh.dev.azure.com:v3/{org}/{project}/{repo}
type ScopeCount ¶ added in v0.5.0
func GetScopesInLastMonths ¶ added in v0.5.0
func GetScopesInLastMonths(months, maxResults int, commitType string) ([]ScopeCount, error)
Click to show internal directories.
Click to hide internal directories.