MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Init

Function Init

server/auth/init.go:38–41  ·  view source on GitHub ↗

Init handles all initialization needs in this package.

(dEnv *env.DoltEnv, cfg Config)

Source from the content-addressed store, hash-verified

36
37// Init handles all initialization needs in this package.
38func Init(dEnv *env.DoltEnv, cfg Config) {
39 dbInit(dEnv, cfg)
40 sql.SetAuthorizationHandlerFactory(AuthorizationHandlerFactory{})
41}
42
43// GetSuperUserAndPassword returns the superuser and password for the server to use, as defined in the environment
44func GetSuperUserAndPassword() (string, string) {

Callers 1

InitializeFunction · 0.92

Calls 1

dbInitFunction · 0.85

Tested by

no test coverage detected