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

Method GetConfigPath

pkg/ddevapp/config.go:180–182  ·  view source on GitHub ↗

GetConfigPath returns the path to an application config file specified by filename.

(filename string)

Source from the content-addressed store, hash-verified

178
179// GetConfigPath returns the path to an application config file specified by filename.
180func (app *DdevApp) GetConfigPath(filename string) string {
181 return filepath.Join(app.AppRoot, ".ddev", filename)
182}
183
184// GetProcessedProjectConfigYAML returns the processed project configuration as YAML
185// This is equivalent to what 'ddev utility configyaml' shows - the project configuration

Callers 15

CheckCustomConfigMethod · 0.95
TestExtraPackagesFunction · 0.95
TestDdevAllDatabasesFunction · 0.95
TestSSHAuthFunction · 0.95
GetValidProvidersMethod · 0.95
HasCustomCertMethod · 0.95
DeleteSnapshotMethod · 0.95

Calls

no outgoing calls

Tested by 15

TestExtraPackagesFunction · 0.76
TestDdevAllDatabasesFunction · 0.76
TestSSHAuthFunction · 0.76
TestMutagenConfigChangeFunction · 0.76
TestDdevSnapshotCleanupFunction · 0.76
TestGetLatestSnapshotFunction · 0.76