Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigFileNotFound = errors.New("configuration file isn't found")
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.