complete

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Completion

type Completion struct {
	Progress bool     /* whether forward progress has been made */
	Done     bool     /* whether the completion now represents a file or directory */
	Text     string   /* the string to advance, suffixed " " or "/" for file or directory */
	NumMatch int      /* number of files that matched */
	Files    []string /* files returned */
}

func Complete

func Complete(dir, s string) (*Completion, error)

Jump to

Keyboard shortcuts

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