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

View file

@ -20,16 +20,16 @@ type Finder interface {
// Finders combines multiple finders into one.
func Finders(finders ...Finder) Finder {
return &CombinedFinder{finders: finders}
return &combinedFinder{finders: finders}
}
// CombinedFinder is a Finder that combines multiple finders.
type CombinedFinder struct {
// combinedFinder is a Finder that combines multiple finders.
type combinedFinder struct {
finders []Finder
}
// 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 errs []error