feat: unexport combined finder for now

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2024-06-03 14:48:11 +02:00 committed by Márk Sági-Kazár
parent f452b09dd9
commit c9994ee0c6
1 changed files with 4 additions and 4 deletions

View File

@ -20,16 +20,16 @@ type Finder interface {
// Finders combines multiple finders into one. // Finders combines multiple finders into one.
func Finders(finders ...Finder) Finder { func Finders(finders ...Finder) Finder {
return &CombinedFinder{finders: finders} return &combinedFinder{finders: finders}
} }
// CombinedFinder is a Finder that combines multiple finders. // combinedFinder is a Finder that combines multiple finders.
type CombinedFinder struct { type combinedFinder struct {
finders []Finder finders []Finder
} }
// Find implements the [Finder] interface. // Find implements the [Finder] interface.
func (c *CombinedFinder) Find(fsys afero.Fs) ([]string, error) { func (c *combinedFinder) Find(fsys afero.Fs) ([]string, error) {
var results []string var results []string
var errs []error var errs []error