file_list

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileListItem

type FileListItem struct {
	ID string
	*gist.GistFile
}

func (FileListItem) Description

func (item FileListItem) Description() string

func (FileListItem) FilterValue

func (item FileListItem) FilterValue() string

func (FileListItem) Title

func (item FileListItem) Title() string

type FileListModel

type FileListModel struct {
	*model.BoxModel
	// contains filtered or unexported fields
}

func New

func New() FileListModel

func (FileListModel) Init

func (m FileListModel) Init() tea.Cmd

func (*FileListModel) Resize

func (m *FileListModel) Resize(width int, height int)

func (FileListModel) Update

func (m FileListModel) Update(msg tea.Msg) (FileListModel, tea.Cmd)

func (FileListModel) View

func (m FileListModel) View() string

Jump to

Keyboard shortcuts

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