Documentation
¶
Index ¶
- func IsAudioFile(path string) bool
- type Entry
- type FileSelectedMsg
- type Model
- func (m Model) Dir() string
- func (m Model) Init() tea.Cmd
- func (m Model) IsFiltering() bool
- func (m Model) IsQueued(path string) bool
- func (m Model) SetNowPlaying(path string) Model
- func (m Model) SetQueued(paths []string) Model
- func (m Model) SetSize(w, h int) Model
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- type TrackDequeuedMsg
- type TrackQueuedMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAudioFile ¶
Types ¶
type Entry ¶
func ScanRecursive ¶
type FileSelectedMsg ¶
type FileSelectedMsg struct {
Path string
}
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) IsFiltering ¶
func (Model) SetNowPlaying ¶
type TrackDequeuedMsg ¶
type TrackDequeuedMsg struct {
Path string
}
type TrackQueuedMsg ¶
type TrackQueuedMsg struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.