ugrep

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	File    string  `json:"file"`
	Matches []Match `json:"matches"`
}

type Match

type Match struct {
	Line   int64  `json:"line"`
	Column int64  `json:"column"`
	Match  string `json:"match"`
}

type Ugrep

type Ugrep struct {
	grep.Grep
}

func NewUgrep

func NewUgrep() *Ugrep

func (*Ugrep) Cmd

func (p *Ugrep) Cmd(query *pb.Query) (string, []string)

func (*Ugrep) Install

func (p *Ugrep) Install() error

func (*Ugrep) Search

func (p *Ugrep) Search(query *pb.Query, input *bufio.Reader, acks chan<- *pb.Ack)

Jump to

Keyboard shortcuts

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