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

Function refreshStorageType

internal/config/refreshable_telemetry.go:93–98  ·  view source on GitHub ↗
(secure bool)

Source from the content-addressed store, hash-verified

91}
92
93func refreshStorageType(secure bool) string {
94 if secure {
95 return refreshStorageKeyring
96 }
97 return refreshStoragePlaintext
98}
99
100// recordRefreshAttempt records the auth_token_refresh event for a refresh attempt against hostname. It records nothing
101// when no recorder is set or when hostname is a GitHub Enterprise Server host, since enterprise usage is never

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected