Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
141
func
envSet(name string) string {
142
return
strconv.FormatBool(os.Getenv(name) !=
""
)
143
}
Callers
2
TestParseTelemetryState
Function · 0.85
recordRefreshAttempt
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestParseTelemetryState
Function · 0.68