finder

package
v2.38.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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(pwd, 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