rg

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

View Source
const (
	DefaultProgram = "rg"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Program string
}
var (
	Default *Driver
)

func (*Driver) SearchLiteral

func (d *Driver) SearchLiteral(ctx context.Context, directory, query string) ([]string, error)

func (*Driver) SearchRegexp

func (d *Driver) SearchRegexp(ctx context.Context, directory, query string) ([]string, error)

func (*Driver) SelfTest

func (d *Driver) SelfTest(ctx context.Context) error

Jump to

Keyboard shortcuts

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