Documentation
¶
Index ¶
- type MatchRange
- type Model
- func (m Model) FilterQuery() string
- func (m Model) IsExpanded() bool
- func (m Model) IsFilterMode() bool
- func (m *Model) SetExpanded(expanded bool)
- func (m *Model) SetFiles(files []diff.FileChange)
- func (m *Model) SetFilterMode(enabled bool)
- func (m *Model) SetFilterQuery(query string)
- func (m *Model) SetSearchState(isSearching bool, getMatches func(fileIdx int) []MatchRange)
- func (m *Model) SetSelected(idx int)
- func (m Model) View(width, height int, focused bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchRange ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) FilterQuery ¶
func (Model) IsExpanded ¶
func (Model) IsFilterMode ¶
func (*Model) SetExpanded ¶
func (*Model) SetFiles ¶
func (m *Model) SetFiles(files []diff.FileChange)
func (*Model) SetFilterMode ¶
func (*Model) SetFilterQuery ¶
func (*Model) SetSearchState ¶
func (m *Model) SetSearchState(isSearching bool, getMatches func(fileIdx int) []MatchRange)
func (*Model) SetSelected ¶
Click to show internal directories.
Click to hide internal directories.