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

Function refreshStorageType

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

Source from the content-addressed store, hash-verified

116}
117
118func refreshStorageType(secure bool) string {
119 if secure {
120 return refreshStorageKeyring
121 }
122 return refreshStoragePlaintext
123}
124
125// recordRefreshAttempt records the auth_token_refresh event for a refresh attempt against hostname. It records nothing
126// 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