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

Function isDocker

backend/bin/server/cmd/profile.go:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func isDocker() bool {
37 if _, err := os.Stat("/etc/bb.env"); err == nil {
38 return true
39 }
40 return false
41}

Callers 2

initFunction · 0.85
getBaseProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected