MCPcopy
hub / github.com/pocketbase/pocketbase / IsDev

Method IsDev

core/base.go:594–596  ·  view source on GitHub ↗

IsDev returns whether the app is in dev mode. When enabled logs, executed sql statements, etc. are printed to the stderr.

()

Source from the content-addressed store, hash-verified

592//
593// When enabled logs, executed sql statements, etc. are printed to the stderr.
594func (app *BaseApp) IsDev() bool {
595 return app.config.IsDev
596}
597
598// Settings returns the loaded app settings.
599func (app *BaseApp) Settings() *Settings {

Callers 4

NewMailClientMethod · 0.95
initDataDBMethod · 0.95
initLoggerMethod · 0.95
TestNewBaseAppFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewBaseAppFunction · 0.76