Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatChangesForPrompt ¶
FormatChangesForPrompt converts the Changes structure to a formatted string for use in AI prompts
Types ¶
type Changes ¶
type Changes struct { Modified []string `json:"modified"` Added []string `json:"added"` Deleted []string `json:"deleted"` Unknown []string `json:"unknown"` Details map[string][]string `json:"details"` }
Changes represents git changes in the repository
func GetChanges ¶
GetChanges gets detailed information about changes in the git repository
type FileStatus ¶
type FileStatus string
FileStatus represents the status of a file in git
const ( Modified FileStatus = "modified" Added FileStatus = "added" Deleted FileStatus = "deleted" )
Click to show internal directories.
Click to hide internal directories.