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

Method Begin

internal/telemetry/telemetry.go:502–504  ·  view source on GitHub ↗

Begin returns an inert handle without retaining the event.

(event ghtelemetry.Event)

Source from the content-addressed store, hash-verified

500
501// Begin returns an inert handle without retaining the event.
502func (s *NoOpService) Begin(event ghtelemetry.Event) ghtelemetry.PendingEvent {
503 return noOpPendingEvent{}
504}
505
506// Disable leaves telemetry disabled.
507func (s *NoOpService) Disable() {}

Callers 1

TestNoOpServiceFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNoOpServiceFunction · 0.76