MCPcopy Create free account
hub / github.com/cli/cli / envSet

Function envSet

internal/config/refreshable_telemetry.go:141–143  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

139}
140
141func envSet(name string) string {
142 return strconv.FormatBool(os.Getenv(name) != "")
143}

Callers 2

TestParseTelemetryStateFunction · 0.85
recordRefreshAttemptMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestParseTelemetryStateFunction · 0.68