MCPcopy Create free account
hub / github.com/bytebase/bytebase / activeProfile

Function activeProfile

backend/bin/server/cmd/profile_dev.go:10–14  ·  view source on GitHub ↗
(dataDir string)

Source from the content-addressed store, hash-verified

8)
9
10func activeProfile(dataDir string) *config.Profile {
11 p := getBaseProfile(dataDir)
12 p.Mode = common.ReleaseModeDev
13 return p
14}

Callers 1

startFunction · 0.70

Calls 1

getBaseProfileFunction · 0.85

Tested by

no test coverage detected