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

Method DataDir

core/app.go:65–65  ·  view source on GitHub ↗

DataDir returns the app data directory path.

()

Source from the content-addressed store, hash-verified

63
64 // DataDir returns the app data directory path.
65 DataDir() string
66
67 // EncryptionEnv returns the name of the app secret env key
68 // (currently used primarily for optional settings encryption but this may change in the future).

Callers 15

TestNewFunction · 0.65
TestNewWithConfigFunction · 0.65
TestCreateBackupFunction · 0.65
CreateBackupMethod · 0.65
RestoreBackupMethod · 0.65
ServeFunction · 0.65
TestCollectionDeleteFunction · 0.65
TestRecordCrudDeleteFunction · 0.65
testFilesCountFunction · 0.65
CleanupMethod · 0.65

Calls

no outgoing calls

Tested by 13

TestNewFunction · 0.52
TestNewWithConfigFunction · 0.52
TestCreateBackupFunction · 0.52
TestCollectionDeleteFunction · 0.52
TestRecordCrudDeleteFunction · 0.52
testFilesCountFunction · 0.52
TestBindFilesystemFunction · 0.52