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

Method GetComposeProjectName

pkg/ddevapp/ddevapp.go:3784–3786  ·  view source on GitHub ↗

GetComposeProjectName returns the name of the docker-compose project

()

Source from the content-addressed store, hash-verified

3782
3783// GetComposeProjectName returns the name of the docker-compose project
3784func (app *DdevApp) GetComposeProjectName() string {
3785 return strings.ToLower("ddev-" + strings.ReplaceAll(app.Name, `.`, ""))
3786}
3787
3788// GetDefaultNetworkName returns the default project network name
3789func (app *DdevApp) GetDefaultNetworkName() string {

Callers 7

StartMethod · 0.95
DockerEnvMethod · 0.95
GetDefaultNetworkNameMethod · 0.95
deleteImagesFunction · 0.80
deleteDdevImagesFunction · 0.80
TestDeleteCmdFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestDeleteCmdFunction · 0.64