MCPcopy Index your code
hub / github.com/devspace-sh/devspace / configExistsInPath

Function configExistsInPath

pkg/devspace/config/loader/loader.go:568–571  ·  view source on GitHub ↗

configExistsInPath checks whether a devspace configuration exists at a certain path

(path string)

Source from the content-addressed store, hash-verified

566
567// configExistsInPath checks whether a devspace configuration exists at a certain path
568func configExistsInPath(path string) bool {
569 _, err := os.Stat(path)
570 return err == nil // false, no config file found
571}
572
573// LoadRaw loads the raw config
574func (l *configLoader) LoadRaw() (map[string]interface{}, error) {

Callers 2

ExistsMethod · 0.85
SetDevSpaceRootMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected