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

Struct EventRecorderSpy

internal/telemetry/fake.go:15–17  ·  view source on GitHub ↗

EventRecorderSpy captures recorded and pending events in recording order.

Source from the content-addressed store, hash-verified

13
14// EventRecorderSpy captures recorded and pending events in recording order.
15type EventRecorderSpy struct {
16 events []*ghtelemetry.Event
17}
18
19// Record captures a complete event.
20func (r *EventRecorderSpy) Record(event ghtelemetry.Event) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected