ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintTree

func PrintTree(root *scanner.Entry, depth, maxDepth, topN int)

Types

type TUIModel

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

func NewTUIModel

func NewTUIModel(root *scanner.Entry) TUIModel

func (TUIModel) Init

func (m TUIModel) Init() tea.Cmd

func (TUIModel) MarkedPaths added in v0.1.0

func (m TUIModel) MarkedPaths() []string

MarkedPaths returns the paths the user marked for deletion.

func (TUIModel) Update

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

func (TUIModel) View

func (m TUIModel) View() string

Jump to

Keyboard shortcuts

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