Versions in this module Expand all Collapse all v1 v1.9.11 Mar 16, 2022 Changes in this version + var GIT_RELATED_MAX_SIZE = 10 + var MIN_DATASET = 2 + func BuildChangeMap(commits []CommitMessage) map[string]map[string]int + func BuildCommitMessageMap(messages []CommitMessage, infos map[string]ProjectInfo) map[string]ProjectInfo + func GetRelatedFiles(commitMessages []CommitMessage, relatedConfig []byte) [][]string + func ParseLog(text string) + func ShowChangeLogSummary(commits []CommitMessage, output io.Writer) + func UpdateMessageForChange(changedFile string) (string, string, string) + type CodeAgeDisplay struct + EntityName string + Month string + type CommitMessage struct + Author string + Changes []FileChange + Date string + Message string + Rev string + func BuildMessageByInput(inputStr string) []CommitMessage + type FileChange struct + Added int + Deleted int + File string + Mode string + type GitSummary struct + Authors int + Changes int + Commits int + Entities int + func BasicSummary(commitMessages []CommitMessage) *GitSummary + type ProjectInfo struct + Age time.Time + Authors map[string]string + EntityName string + Revs map[string]string + func CalculateCodeAge(messages []CommitMessage) []ProjectInfo + type TeamSummary struct + AuthorCount int + EntityName string + RevsCount int + func GetTeamSummary(messages []CommitMessage) []TeamSummary + type TopAuthor struct + CommitCount int + LineCount int + Name string + func GetTopAuthors(commitMessages []CommitMessage) []TopAuthor