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

browser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAudioFile

func IsAudioFile(path string) bool

Types

type Entry

type Entry struct {
	Name  string
	Path  string
	IsDir bool
}

func Scan

func Scan(dir string) ([]Entry, error)

func ScanRecursive

func ScanRecursive(root string) ([]Entry, error)

type FileSelectedMsg

type FileSelectedMsg struct {
	Path string
}

type Model

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

func New

func New(rootDir, openDir string) Model

func (Model) Dir

func (m Model) Dir() string

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) IsFiltering

func (m Model) IsFiltering() bool

func (Model) IsQueued

func (m Model) IsQueued(path string) bool

func (Model) SetNowPlaying

func (m Model) SetNowPlaying(path string) Model

func (Model) SetQueued

func (m Model) SetQueued(paths []string) Model

func (Model) SetSize

func (m Model) SetSize(w, h int) Model

func (Model) Update

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

func (Model) View

func (m Model) View() string

type TrackDequeuedMsg

type TrackDequeuedMsg struct {
	Path string
}

type TrackQueuedMsg

type TrackQueuedMsg struct {
	Path string
}

Jump to

Keyboard shortcuts

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