Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangedFiles ¶
GetChangedFiles returns a list of files changed between the given tag/commit and HEAD.
func GetCommits ¶
GetCommits returns a list of commit messages between the given tag/commit and HEAD.
func GetDiff ¶ added in v0.7.3
GetDiff returns git diff output between the given tag/commit and HEAD. Use --unified=3 for standard context.
func GetDiffStats ¶ added in v0.7.3
GetDiffStats returns git diff --stat output between the given tag/commit and HEAD.
func GetLastTag ¶
GetLastTag retrieves the most recent git tag. Returns "HEAD~10" as fallback if no tags are found.
func IsGitRepository ¶
func IsGitRepository() bool
IsGitRepository checks if the current directory is a git repository.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.