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

Method SetSampleRate

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

SetSampleRate leaves telemetry disabled.

(rate int)

Source from the content-addressed store, hash-verified

508
509// SetSampleRate leaves telemetry disabled.
510func (s *NoOpService) SetSampleRate(rate int) {}
511
512// Finish has no payload to complete.
513func (s *NoOpService) Finish() {}

Callers 1

TestNoOpServiceFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNoOpServiceFunction · 0.76