tree

package
v0.0.0-...-98f10e0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(info os.FileInfo, path string) cli.TreeView

func PathWithConfig

func PathWithConfig(info os.FileInfo, path string, config PathConfig) cli.TreeView

Types

type PathConfig

type PathConfig struct {
	DirStyle      cli.StyleSet
	RegFileStyle  cli.StyleSet
	ExecFileStyle cli.StyleSet
	ShowHidden    bool
}
var (
	DefaultPathConfig PathConfig = PathConfig{
		DirStyle:      cli.Style(cli.Bold, cli.Blue),
		RegFileStyle:  cli.Normal,
		ExecFileStyle: cli.Style(cli.Bold, cli.Green),
		ShowHidden:    false,
	}
)

Jump to

Keyboard shortcuts

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