Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/envbuilder
/ WithEnvPrefix
Function
WithEnvPrefix
options/options.go:533–535 ·
view source on GitHub ↗
(str string)
Source
from the content-addressed store, hash-verified
531
}
532
533
func
WithEnvPrefix(str string) string {
534
return
envPrefix + str
535
}
536
537
func
supportLegacyEnvWithoutPrefixes(opts serpent.OptionSet) serpent.OptionSet {
538
withLegacyOpts := opts
Callers
5
run
Function · 0.92
TestUnsetOptionsEnv
Function · 0.92
envbuilderEnv
Function · 0.92
TestEnvOptionParsing
Function · 0.92
CLI
Method · 0.85
Calls
no outgoing calls
Tested by
3
TestUnsetOptionsEnv
Function · 0.74
envbuilderEnv
Function · 0.74
TestEnvOptionParsing
Function · 0.74