Versions in this module Expand all Collapse all v0 v0.1.7 Jun 10, 2024 v0.1.6 Jun 9, 2024 Changes in this version + const DIV + const GIT + const GithubAuthHeader + const GithubRepoAPI + const GithubToken + const LOG + const LOGFORMAT + const NOPAGER + const REVPARSE + const SHOW + const TOPLEVEL + func BuildCommitChangelog(commitHistory []*model.Commit, progressChan chan *model.ProgressUpdate, ...) ([]*model.Commit, []error) + func CheckLocalRepoAvailable(dir string) bool + func ConvertGithubCommitsIntoModel(ghCommits []*APICommit, progressChan chan *model.ProgressUpdate, ...) ([]*model.Commit, []error) + func ExtractHistoryFromFile(repoDirectory, filePath string, progressChan chan *model.ProgressUpdate, ...) ([]*model.Commit, []error) + func ExtractPathAndFile(location string) (string, string) + func GetTopLevel(dir string) (string, error) + func PopulateHistoryWithChanges(commitHistory []*model.Commit, limit int, ...) ([]*model.Commit, []error) + func ProcessGithubRepo(username string, repo string, filePath string, ...) ([]*model.Commit, []error) + type APICommit struct + CommitDetails *APICommitDetails + Files []*APIFile + Hash string + URL string + func GetCommitsForGithubFile(user, repo, path string, progressChan chan *model.ProgressUpdate, ...) ([]*APICommit, error) + type APICommitAuthor struct + Date string + Email string + Name string + type APICommitDetails struct + Author *APICommitAuthor + Message string + URL string + type APIFile struct + BlobURL string + Bytes []byte + Hash string + RawURL string