MCPcopy Create free account
hub / github.com/ddev/ddev / GetType

Method GetType

pkg/ddevapp/ddevapp.go:160–165  ·  view source on GitHub ↗

GetType returns the application type as a (lowercase) string

()

Source from the content-addressed store, hash-verified

158
159// GetType returns the application type as a (lowercase) string
160func (app *DdevApp) GetType() string {
161 if app.Type == nodeps.AppTypeDrupal {
162 app.Type = nodeps.AppTypeDrupalLatestStable
163 }
164 return strings.ToLower(app.Type)
165}
166
167// Init populates DdevApp config based on the current working directory.
168// It does not start the containers.

Callers 8

TrackProjectMethod · 0.95
GetUploadDirsMethod · 0.95
CreateSettingsFileMethod · 0.95
DescribeMethod · 0.95
TestPHPWebserverTypeFunction · 0.80
GetDdevLabelsFunction · 0.80
TestCmdListFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestPHPWebserverTypeFunction · 0.64
TestCmdListFunction · 0.64