finder

package
v1.34.0-4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 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 added in v1.6.1

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 (finder *ConfigFinder) Find(wd, configFilePath string, globalConfigFilePaths ...string) (string, error)

func (*ConfigFinder) Finds

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

Jump to

Keyboard shortcuts

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