Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxDiffSize = 4096 // Limit to 4KB to prevent overwhelming LLM
)
Variables ¶
This section is empty.
Functions ¶
func GetDifferences ¶
GetDifferences retrieves staged differences, truncating if needed.
Types ¶
type DiffResult ¶
DiffResult encapsulates the staged diff results
func FetchStagedDiff ¶
func FetchStagedDiff() (*DiffResult, error)
FetchStagedDiff retrieves staged changes using `--patch --compact-summary` for better output.
Click to show internal directories.
Click to hide internal directories.