MCPcopy
hub / github.com/pocketbase/pocketbase / IsBootstrapped

Method IsBootstrapped

core/base.go:383–385  ·  view source on GitHub ↗

IsBootstrapped checks if the application was initialized (aka. whether Bootstrap() was called).

()

Source from the content-addressed store, hash-verified

381// IsBootstrapped checks if the application was initialized
382// (aka. whether Bootstrap() was called).
383func (app *BaseApp) IsBootstrapped() bool {
384 return app.concurrentDB != nil && app.auxConcurrentDB != nil
385}
386
387// Bootstrap initializes the application
388// (aka. create data dir, open db connections, load settings, etc.).

Callers 3

BootstrapMethod · 0.95
initLoggerMethod · 0.95
TestBaseAppBootstrapFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestBaseAppBootstrapFunction · 0.76