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

Method GetDefaultNetworkName

pkg/ddevapp/ddevapp.go:3789–3791  ·  view source on GitHub ↗

GetDefaultNetworkName returns the default project network name

()

Source from the content-addressed store, hash-verified

3787
3788// GetDefaultNetworkName returns the default project network name
3789func (app *DdevApp) GetDefaultNetworkName() string {
3790 return app.GetComposeProjectName() + "_default"
3791}
3792
3793// StartAppIfNotRunning is intended to replace much-duplicated code in the commands.
3794func (app *DdevApp) StartAppIfNotRunning() error {

Callers 3

StartMethod · 0.95
TestFixupComposeYamlFunction · 0.80
fixupComposeYamlFunction · 0.80

Calls 1

GetComposeProjectNameMethod · 0.95

Tested by 1

TestFixupComposeYamlFunction · 0.64