Documentation
¶
Overview ¶
Package git provides git operations for the git-cc application with proper error handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStagedFiles ¶
func IsGitRepository ¶
func IsGitRepository() bool
IsGitRepository is an alias for IsInGitRepo to match the main.go interface
func IsInGitRepo ¶
func IsInGitRepo() bool
Types ¶
type CommitError ¶
func (*CommitError) Error ¶
func (e *CommitError) Error() string
func (*CommitError) GetDetails ¶
func (e *CommitError) GetDetails() string
func (*CommitError) IsHook ¶
func (e *CommitError) IsHook() bool
type CommitResult ¶
func CommitWithResult ¶
func CommitWithResult(message string) *CommitResult
Click to show internal directories.
Click to hide internal directories.