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

Method GetDocroot

pkg/ddevapp/ddevapp.go:635–637  ·  view source on GitHub ↗

GetDocroot returns the docroot path relative to project root

()

Source from the content-addressed store, hash-verified

633
634// GetDocroot returns the docroot path relative to project root
635func (app DdevApp) GetDocroot() string {
636 return app.Docroot
637}
638
639// GetAbsDocroot returns the absolute path to the docroot on the host or if
640// inContainer is set to true in the container.

Callers 9

RenderComposeYAMLMethod · 0.95
CreateDocrootMethod · 0.95
DescribeMethod · 0.95
GetAbsDocrootMethod · 0.95
DockerEnvMethod · 0.95
TestEnvironmentVariablesFunction · 0.80
createDrupal8SyncDirFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestEnvironmentVariablesFunction · 0.64