matcher

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package matcher discovers project files from skeeper glob patterns.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(root string, patterns []string) ([]string, error)

Find returns sorted slash-separated relative file paths that match patterns.

func FindContext

func FindContext(ctx context.Context, root string, patterns []string) ([]string, error)

FindContext returns sorted slash-separated relative file paths that match patterns.

func FindContextWithOptions added in v0.2.0

func FindContextWithOptions(ctx context.Context, root string, patterns []string, opts Options) ([]string, error)

FindContextWithOptions returns sorted slash-separated relative file paths that match patterns and discovery options.

Types

type Options added in v0.2.0

type Options struct {
	RespectGitignore bool
}

Options controls project file discovery.

Jump to

Keyboard shortcuts

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