scanner

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scan

func Scan(ctx context.Context, fsys fs.FS, w io.Writer, opts *Opts) error

Types

type Opts

type Opts struct {
	Patterns     []*regexp.Regexp
	Owner        string
	Repo         string
	Include      string
	Exclude      string
	LineNumber   bool
	NameOnly     bool
	RepoOnly     bool
	URL          bool
	Count        bool
	OnlyMatching bool
	Gh           *gh.Gh
}

type RepoOnlyError added in v0.5.0

type RepoOnlyError struct{}

func (*RepoOnlyError) Error added in v0.5.0

func (e *RepoOnlyError) Error() string

Jump to

Keyboard shortcuts

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