Documentation
¶
Overview ¶
Package diff provides a component for displaying before/after comparisons with confirmation dialog for changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Viewer ¶
type Viewer struct {
// contains filtered or unexported fields
}
Viewer displays a diff with confirmation buttons
func (*Viewer) HasChanges ¶
HasChanges returns true if any field has changed
func (*Viewer) IsFocusedYes ¶
IsFocusedYes returns true if Yes button is focused
func (*Viewer) SetWarnings ¶
SetWarnings sets warning messages to display
Click to show internal directories.
Click to hide internal directories.