Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileListModel ¶
FileListModel is the file list view model. It renders the list of files found in its bound workDirectory.
func New ¶
func New(workDirectory string) (FileListModel, error)
New creates a new FileListModel, bound ot the provided workDirectory.
func (FileListModel) SetIsActive ¶
func (m FileListModel) SetIsActive(active bool) FileListModel
SetIsActive toggles active/focusState state for this model.
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
Item is a single item to render in the FileListModel.
func (Item) Description ¶
Description is used by list.DefaultDelegate.
func (Item) FilterValue ¶
FilterValue returns the value to reference when the list is in filter mode.
Click to show internal directories.
Click to hide internal directories.