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

Method RecordSuccess

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

RecordSuccess marks the invocation as having stored a credential successfully.

()

Source from the content-addressed store, hash-verified

97
98// RecordSuccess marks the invocation as having stored a credential successfully.
99func (e *AuthTelemetryEvent) RecordSuccess() {
100 if e == nil {
101 return
102 }
103 e.pendingEvent.UpsertDimensions(ghtelemetry.Dimensions{"auth_success": "true"})
104}

Callers 4

refreshRunFunction · 0.80
LoginFunction · 0.80

Calls 1

UpsertDimensionsMethod · 0.65

Tested by 2