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

Method RecordHelperAfter

pkg/cmd/auth/shared/telemetry.go:71–76  ·  view source on GitHub ↗

RecordHelperAfter captures the git credential helper configured after login completed, as one of "ours", "other", "none", or "error" when the helper could not be read.

(category string)

Source from the content-addressed store, hash-verified

69// RecordHelperAfter captures the git credential helper configured after login completed, as one of "ours", "other",
70// "none", or "error" when the helper could not be read.
71func (e *AuthTelemetryEvent) RecordHelperAfter(category string) {
72 if e == nil {
73 return
74 }
75 e.pendingEvent.UpsertDimensions(ghtelemetry.Dimensions{"git_credential_helper_after": category})
76}
77
78// RecordExpiringReceived captures whether the server issued an expiring, refreshable token.
79func (e *AuthTelemetryEvent) RecordExpiringReceived(received bool) {

Callers 4

refreshRunFunction · 0.80
LoginFunction · 0.80

Calls 1

UpsertDimensionsMethod · 0.65

Tested by 2