detect

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSearchOrder = []string{"ag", "rg", "grep", "pt", "native"}
View Source
var (
	ErrNoWorkingDriver = fmt.Errorf("no working driver found")
)

Functions

func Detect

func Detect(ctx context.Context, searchOrder []string) (string, error)

func DetectAndSetPreferred

func DetectAndSetPreferred(ctx context.Context, searchOrder []string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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