ncdu

package
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Line

func Line(x, y, xmax int, fg, bg termbox.Attribute, spacer rune, msg string)

Line prints a string to given xmax, with given space

func LineOptions added in v1.46.0

func LineOptions(x, y, xmax int, fg, bg termbox.Attribute, options []string, selected int)

LineOptions Print line of selectable options

func Linef

func Linef(x, y, xmax int, fg, bg termbox.Attribute, spacer rune, format string, args ...interface{})

Linef a string

func Print

func Print(x, y int, fg, bg termbox.Attribute, msg string)

Print a string

func Printf

func Printf(x, y int, fg, bg termbox.Attribute, format string, args ...interface{})

Printf a string

Types

type UI

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

UI contains the state of the user interface

func NewUI

func NewUI(f fs.Fs) *UI

NewUI creates a new user interface for ncdu on f

func (*UI) Box

func (u *UI) Box()

Box the u.boxText onto the screen

func (*UI) Draw

func (u *UI) Draw() error

Draw the current screen

func (*UI) Show

func (u *UI) Show() error

Show shows the user interface

Directories

Path Synopsis
Package scan does concurrent scanning of an Fs building up a directory tree.
Package scan does concurrent scanning of an Fs building up a directory tree.

Jump to

Keyboard shortcuts

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