Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileDiff ¶
type FileDiff struct {
Path string
Diff string
Changed bool
KeyChanges []transform.KeyChange // Add key changes for this file
}
FileDiff represents the diff for a single file, including the path, diff content, and whether it has changed. It also holds the key changes detected in the file.
type Model ¶
type Model struct {
Files []FileDiff // All files with detected key changes
Index int // Current file index
Accepted map[string]bool // Files the user has accepted
Skipped map[string]bool // Files the user has skipped
Quitting bool // Whether the user has quit the TUI
ShowHelp bool // Whether to show the help/footer
List list.Model // Bubble Tea list for navigating changes
}
Model represents the state of the TUI for reviewing OpenAPI key changes. It tracks the list of files, navigation state, accepted/skipped files, and the Bubble Tea list model.
Click to show internal directories.
Click to hide internal directories.