Help us shape the future of Go! Take the 2026 Go Developer Survey

paths

package
v1.5.37 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(filepaths []string) ([]string, error)

func FilterBanned

func FilterBanned(paths ...string) []string

func NewTargeter

func NewTargeter(paths ...string) func(cxt context.Context) ([]string, error)

Types

type Filter

type Filter[T any] struct {
	// contains filtered or unexported fields
}

func NewExcludeFilter

func NewExcludeFilter[T any](specRoot string, paths []string) *Filter[T]

func NewIncludeFilter

func NewIncludeFilter[T any](specRoot string, paths []string) *Filter[T]

func (Filter[T]) Name

func (p Filter[T]) Name() string

func (*Filter[T]) Process

func (p *Filter[T]) Process(cxt context.Context, inputs []*pipeline.Data[T]) (outputs []*pipeline.Data[T], err error)

Jump to

Keyboard shortcuts

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