finder

package
v2.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigFileNotFound = errors.New("configuration file isn't found")

Functions

func ParseGlobalConfigFilePaths

func ParseGlobalConfigFilePaths(env string) []string

Types

type ConfigFinder

type ConfigFinder struct {
	// contains filtered or unexported fields
}

func NewConfigFinder

func NewConfigFinder(fs afero.Fs) *ConfigFinder

func (*ConfigFinder) Find

func (f *ConfigFinder) Find(wd, configFilePath string, globalConfigFilePaths ...string) (string, error)

func (*ConfigFinder) Finds

func (f *ConfigFinder) Finds(wd, configFilePath string) []string

Jump to

Keyboard shortcuts

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