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

Method Record

internal/telemetry/fake.go:20–22  ·  view source on GitHub ↗

Record captures a complete event.

(event ghtelemetry.Event)

Source from the content-addressed store, hash-verified

18
19// Record captures a complete event.
20func (r *EventRecorderSpy) Record(event ghtelemetry.Event) {
21 r.Begin(event)
22}
23
24// Begin captures initial facts and returns a handle for subsequent updates.
25func (r *EventRecorderSpy) Begin(event ghtelemetry.Event) ghtelemetry.PendingEvent {

Callers

nothing calls this directly

Calls 1

BeginMethod · 0.95

Tested by

no test coverage detected