completion

package
v0.24.18 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const CONFIRMDIR_SIGN = "-"

Variables

This section is empty.

Functions

This section is empty.

Types

type Completer

type Completer interface {
	Complete(
		fsys fs.ReadOnly,
		currdir path.Relative,
		prefix string,
	) (
		suggestions []path.Relative,
		finished bool,
		err error,
	)
}

func Dir

func Dir(pattern *regexp.Regexp, parentAllowed bool) Completer

func File

func File(pattern *regexp.Regexp, parentAllowed bool, subdirsAllowed bool) Completer

func FileOrDir

func FileOrDir(pattern *regexp.Regexp, parentAllowed bool) Completer

Jump to

Keyboard shortcuts

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