package
1.0.3
Repository: https://github.com/developest/gtm-enhanced.git
Documentation: pkg.go.dev

# Functions

CommitIDs returns commit SHA1 IDs starting from the head up to the limit.
ConfigRemove removes git configuration settings.
ConfigSet persists git configuration settings.
CreateNote creates a git note associated with the head commit.
CurrentBranch return current git branch name.
DiffParentCommit compares commit to it's parent and returns their stats.
No description provided by the author
No description provided by the author
GitRepoPath discovers .git directory for a repo.
HeadCommit returns the latest commit.
IgnoreRemove removes paths/files ignored for a git repo.
IgnoreSet persists paths/files to ignore for a git repo.
NewCommitLimiter returns a new initialize CommitLimiter struct.
NewStatus create a Status struct for a git repo.
ReadNote returns a commit note for the SHA1 commit id, tries to fetch squashed commits notes as well by message.
RemoveHooks remove matching git hook commands.
No description provided by the author
No description provided by the author
SetHooks creates git hooks.
Workdir returns the working directory for a repo.

# Variables

ErrHeadUnborn is raised when there are no commits yet in the git repo.

# Structs

Commit contains commit details.
CommitLimiter struct filter commits by criteria.
CommitNote contains a git note's details.
CommitStats contains the files changed and their stats.
GitHook is the Command with options to be added/removed from a git hook Exe is the executable file name for Linux/MacOS RE is the regex to match on for the command.
Status contains the git file statuses.