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

Function ConfigPath

pkg/devspace/config/loader/loader.go:667–674  ·  view source on GitHub ↗
(configPath string)

Source from the content-addressed store, hash-verified

665}
666
667func ConfigPath(configPath string) string {
668 path := constants.DefaultConfigPath
669 if configPath != "" {
670 path = configPath
671 }
672
673 return path
674}
675
676func copyRaw(in map[string]interface{}) (map[string]interface{}, error) {
677 o, err := yaml.Marshal(in)

Callers 5

initDevspaceMethod · 0.92
renderMethod · 0.92
NewConfigLoaderFunction · 0.85
LoadRawMethod · 0.85
ExistsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected