Documentation
¶
Overview ¶
Package diffview renders unified diffs for terminal UI surfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model renders and navigates a set of file diffs.
func (*Model) HandleKey ¶
HandleKey applies simple navigation keys. It reports whether the key was handled.
func (Model) SelectedPath ¶
SelectedPath returns the currently selected file path.
Click to show internal directories.
Click to hide internal directories.