explorer

package
v0.0.0-...-019f549 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleEvents

func HandleEvents(eventKey *tcell.EventKey, switchToPage func(string)) *tcell.EventKey

HandleEvents dispatches the events for the explorer

func ReRenderExplorer

func ReRenderExplorer(scrollToTop bool)

ReRenderExplorer re-builds the explorer

func StartExplorer

func StartExplorer()

StartExplorer initializes the File Explorer

func UI

func UI(redraw func()) *tview.Grid

UI builds the gui for the explorer list of files

Types

type SortByLowerCaseFilename

type SortByLowerCaseFilename []os.FileInfo

SortByLowerCaseFilename sorts a slice of file info by lower case

func (SortByLowerCaseFilename) Len

func (f SortByLowerCaseFilename) Len() int

func (SortByLowerCaseFilename) Less

func (f SortByLowerCaseFilename) Less(i, j int) bool

func (SortByLowerCaseFilename) Swap

func (f SortByLowerCaseFilename) Swap(i, j int)

Jump to

Keyboard shortcuts

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