Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGitRepository ¶
func CheckGitRepository() bool
func CommitChanges ¶
func FilterLockFiles ¶
func GetCurrentBranch ¶
func GetGitDiff ¶
func GetHeadCommitMessage ¶ added in v0.1.0
GetHeadCommitMessage retrieves the HEAD commit message
Types ¶
type DiffChunk ¶ added in v0.1.0
DiffChunk represents one contiguous set of changed lines in the diff
func ParseDiffToChunks ¶ added in v0.1.0
ParseDiffToChunks processes a unified diff string into a list of DiffChunks. This is a naive parser that assumes the diff is in "git diff --staged" format.
Click to show internal directories.
Click to hide internal directories.