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

Method Disable

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

Disable leaves telemetry disabled.

()

Source from the content-addressed store, hash-verified

505
506// Disable leaves telemetry disabled.
507func (s *NoOpService) Disable() {}
508
509// SetSampleRate leaves telemetry disabled.
510func (s *NoOpService) SetSampleRate(rate int) {}

Callers 1

TestNoOpServiceFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNoOpServiceFunction · 0.76