Help us shape the future of Go! Take the 2026 Go Developer Survey

filelist

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchRange

type MatchRange struct {
	Start int
	End   int
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New() Model

func (Model) FilterQuery

func (m Model) FilterQuery() string

func (Model) IsExpanded

func (m Model) IsExpanded() bool

func (Model) IsFilterMode

func (m Model) IsFilterMode() bool

func (*Model) SetExpanded

func (m *Model) SetExpanded(expanded bool)

func (*Model) SetFiles

func (m *Model) SetFiles(files []diff.FileChange)

func (*Model) SetFilterMode

func (m *Model) SetFilterMode(enabled bool)

func (*Model) SetFilterQuery

func (m *Model) SetFilterQuery(query string)

func (*Model) SetSearchState

func (m *Model) SetSearchState(isSearching bool, getMatches func(fileIdx int) []MatchRange)

func (*Model) SetSelected

func (m *Model) SetSelected(idx int)

func (Model) View

func (m Model) View(width, height int, focused bool) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL