Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
func
isDocker() bool {
37
if
_, err := os.Stat(
"/etc/bb.env"
); err == nil {
38
return
true
39
}
40
return
false
41
}
Callers
2
init
Function · 0.85
getBaseProfile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected