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

Method SetSampleRate

internal/config/refreshable_telemetry_test.go:37–39  ·  view source on GitHub ↗
(rate int)

Source from the content-addressed store, hash-verified

35}
36
37func (s *refreshTelemetrySpy) SetSampleRate(rate int) {
38 s.sampleRate = rate
39}
40
41func rejectingRefresher(onRefresh func()) *ghmock.TokenRefresherMock {
42 return &ghmock.TokenRefresherMock{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected