GetAbsAppRoot returns the absolute path to the project root on the host or if inContainer is set to true in the container.
(inContainer bool)
| 649 | // GetAbsAppRoot returns the absolute path to the project root on the host or if |
| 650 | // inContainer is set to true in the container. |
| 651 | func (app DdevApp) GetAbsAppRoot(inContainer bool) string { |
| 652 | if inContainer { |
| 653 | return "/var/www/html" |
| 654 | } |
| 655 | |
| 656 | return app.AppRoot |
| 657 | } |
| 658 | |
| 659 | // GetComposerRoot will determine the absolute Composer root directory where |
| 660 | // all Composer related commands will be executed. |
no outgoing calls
no test coverage detected