RecordHelperBefore captures the git credential helper configured before login reconfigured it, as one of "ours", "other", "none", or "error" when the helper could not be read.
(category string)
| 60 | // RecordHelperBefore captures the git credential helper configured before login reconfigured it, as one of "ours", |
| 61 | // "other", "none", or "error" when the helper could not be read. |
| 62 | func (e *AuthTelemetryEvent) RecordHelperBefore(category string) { |
| 63 | if e == nil { |
| 64 | return |
| 65 | } |
| 66 | e.pendingEvent.UpsertDimensions(ghtelemetry.Dimensions{"git_credential_helper_before": category}) |
| 67 | } |
| 68 | |
| 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. |