finder

package
v2.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 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

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