achilleslib

package
v0.0.0-...-ca9dcf0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtomicIntFormat

func AtomicIntFormat(num *atomic.Int32) string

func Int32Format

func Int32Format(num int32) string

func IntFormat

func IntFormat(num int) string

func LibsLen

func LibsLen(m Model) int

Types

type By

type By func(r1, r2 *bareRow) bool

By is the type of a "less" function that defines the ordering of its Planet arguments.

func (By) Sort

func (by By) Sort(rows []bareRow)

Sort is a method on the function type, By, that sorts the argument slice according to the function.

type Model

type Model struct {
	State           state
	ScannedLibs     *atomic.Int32
	ScannedBins     *atomic.Int32
	LoadingProgress float64
	Libs            map[string]*atomic.Int32
	Bins            []string
	Messages        []string
	Progress        progress.Model
	Table           table.Model
}
var (
	GlobalModel *Model
)

func InitialModel

func InitialModel() Model

func (*Model) FindFiles

func (m *Model) FindFiles()

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

Jump to

Keyboard shortcuts

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