glob

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIgnore  = errors.New("ignore")
	ErrPattern = errors.New("invalid pattern")
)

Functions

func Walk

func Walk(pattern, root string) (iter.Seq[string], error)

Types

type Matcher

type Matcher interface {
	Match(string) error
	// contains filtered or unexported methods
}

func Default

func Default() Matcher

func Parse

func Parse(r io.Reader) (Matcher, error)

func ParseFile

func ParseFile(file string) (Matcher, error)

Jump to

Keyboard shortcuts

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