completion

package
v0.24.10 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

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) ([]path.Relative, 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