Versions in this module Expand all Collapse all v0 v0.1.0 Nov 14, 2025 Changes in this version + const GitExitCodeNoCommits + var ErrGitDirNotFound = errors.New(".git directory not found") + var ErrNoCommits = errors.New("no commits in repository") + var ErrNotGitRepository = errors.New("not a git repository") + func ExecuteCommit(gitFormattedDate, message string) error + func GetGitDirectory() (string, error) + func GetGitError(output []byte) string + func GetLastCommitDate() (time.Time, error) + func GetRepositoryRoot() (string, error) + func HasCommits() bool + func IsGitRepository() bool + type Repository struct + IsValid bool + Path string + func NewRepository() *Repository + func ValidateRepository() (*Repository, error)