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

Method GetAppRoot

pkg/ddevapp/ddevapp.go:625–627  ·  view source on GitHub ↗

GetAppRoot return the full path from root to the app directory

()

Source from the content-addressed store, hash-verified

623
624// GetAppRoot return the full path from root to the app directory
625func (app *DdevApp) GetAppRoot() string {
626 return app.AppRoot
627}
628
629// AppConfDir returns the full path to the app's .ddev configuration directory
630func (app *DdevApp) AppConfDir() string {

Callers 15

TestDdevDescribeFunction · 0.95
DescribeMethod · 0.95
SiteStatusMethod · 0.95
ExecOnHostOrServiceMethod · 0.95
TestUseEphemeralPortFunction · 0.80
processBashHostActionFunction · 0.80
ExecuteMethod · 0.80
createDrupal8SyncDirFunction · 0.80
GetDdevLabelsFunction · 0.80
extractProjectInfoFunction · 0.80

Calls

no outgoing calls

Tested by 9

TestDdevDescribeFunction · 0.76
TestUseEphemeralPortFunction · 0.64
TestCmdAddonPHPFunction · 0.64
TestCmdListFunction · 0.64
TestCmdAddonComplexFunction · 0.64
TestCmdAddonDependenciesFunction · 0.64