MCPcopy 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
533func WithEnvPrefix(str string) string {
534 return envPrefix + str
535}
536
537func supportLegacyEnvWithoutPrefixes(opts serpent.OptionSet) serpent.OptionSet {
538 withLegacyOpts := opts

Callers 5

runFunction · 0.92
TestUnsetOptionsEnvFunction · 0.92
envbuilderEnvFunction · 0.92
TestEnvOptionParsingFunction · 0.92
CLIMethod · 0.85

Calls

no outgoing calls

Tested by 3

TestUnsetOptionsEnvFunction · 0.74
envbuilderEnvFunction · 0.74
TestEnvOptionParsingFunction · 0.74