prompt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectEntry

func SelectEntry(remote string, path []string, entries []Entry) (string, error)

func SelectFileAction

func SelectFileAction(remote string, path []string) (string, error)

func SelectRemote

func SelectRemote(remotes []string) (string, error)

Types

type Entry

type Entry struct {
	Description string
	Remote      string
	Size        int64
	Time        string
}

func ConvertEntries

func ConvertEntries(entries fs.DirEntries) []Entry

Jump to

Keyboard shortcuts

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