MCPcopy Index your code
hub / github.com/ddev/ddev / ConfigExists

Method ConfigExists

pkg/ddevapp/config.go:1579–1584  ·  view source on GitHub ↗

ConfigExists determines if a DDEV config file exists for this application.

()

Source from the content-addressed store, hash-verified

1577
1578// ConfigExists determines if a DDEV config file exists for this application.
1579func (app *DdevApp) ConfigExists() bool {
1580 if _, err := os.Stat(app.ConfigPath); os.IsNotExist(err) {
1581 return false
1582 }
1583 return true
1584}
1585
1586// AppTypePrompt handles the Type workflow.
1587func (app *DdevApp) AppTypePrompt() error {

Callers 3

WarnIfConfigReplaceMethod · 0.95
handleMainConfigArgsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected