gotools/gopls/internal/cache/filterer.go

type Filterer

// NewFilterer computes regular expression form of all raw filters
func NewFilterer(rawFilters []string) *Filterer {}

// Disallow return true if the path is excluded from the filterer's filters.
func (f *Filterer) Disallow(path string) bool {}

// convertFilterToRegexp replaces glob-like operator substrings in a string file path to their equivalent regex forms.
// Supporting glob-like operators:
//   - **: match zero or more complete path segments
func convertFilterToRegexp(filter string) *regexp.Regexp {}