ui

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkDeletionMsg added in v1.0.2

type BulkDeletionMsg struct {
	DeletedPaths []string
	SuccessCount int
	ErrorCount   int
	Erros        []error
}

type LoadingCompleteMsg

type LoadingCompleteMsg struct {
	Path    string
	Success bool
	Error   error
}

type Model

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

func NewModel

func NewModel(rootDir *scanner.DirInfo, path string) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

View renders the current state

func (Model) ViewTree

func (m Model) ViewTree() string

type SortMode

type SortMode int
const (
	SortByName SortMode = iota
	SortByDate
	SortBySize
	SortByType
)

func (SortMode) String

func (s SortMode) String() string

Jump to

Keyboard shortcuts

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