Documentation
¶
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 is the bubbletea model for the file picker.
func NewPicker ¶
NewPicker creates a new picker model rooted at root. preSelected is the set of already-registered paths.
func (*Model) Result ¶
func (m *Model) Result() PickerResult
Result returns the picker result. Only valid after the program exits.
type PickerResult ¶
PickerResult is returned when the user confirms or cancels.
Click to show internal directories.
Click to hide internal directories.