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

Method PostImportDBAction

pkg/ddevapp/apptypes.go:464–470  ·  view source on GitHub ↗

PostImportDBAction calls each apptype's detector until it finds a match, or returns 'php' as a last resort.

()

Source from the content-addressed store, hash-verified

462// PostImportDBAction calls each apptype's detector until it finds a match,
463// or returns 'php' as a last resort.
464func (app *DdevApp) PostImportDBAction() error {
465 if appFuncs, ok := appTypeMatrix[app.Type]; ok && appFuncs.postImportDBAction != nil {
466 return appFuncs.postImportDBAction(app)
467 }
468
469 return nil
470}
471
472// ConfigFileOverrideAction gives a chance for an apptype to override any element
473// of config.yaml that it needs to

Callers 1

ImportDBMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected