MCPcopy
hub / github.com/pocketbase/pocketbase / DataDir

Method DataDir

core/base.go:581–583  ·  view source on GitHub ↗

DataDir returns the app data directory path.

()

Source from the content-addressed store, hash-verified

579
580// DataDir returns the app data directory path.
581func (app *BaseApp) DataDir() string {
582 return app.config.DataDir
583}
584
585// EncryptionEnv returns the name of the app secret env key
586// (currently used primarily for optional settings encryption but this may change in the future).

Callers 7

BootstrapMethod · 0.95
NewFilesystemMethod · 0.95
NewBackupsFilesystemMethod · 0.95
initDataDBMethod · 0.95
initAuxDBMethod · 0.95
TestNewBaseAppFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewBaseAppFunction · 0.76