MCPcopy
hub / github.com/helm/helm / envCSV

Function envCSV

pkg/cli/environment.go:217–223  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

215}
216
217func envCSV(name string) (ls []string) {
218 trimmed := strings.Trim(os.Getenv(name), ", ")
219 if trimmed != "" {
220 ls = strings.Split(trimmed, ",")
221 }
222 return
223}
224
225func envColorMode() string {
226 // Check NO_COLOR environment variable first (standard)

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…