MCPcopy Index your code
hub / github.com/coder/coder / isClosed

Method isClosed

coderd/telemetry/telemetry.go:186–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186func (r *remoteReporter) isClosed() bool {
187 select {
188 case <-r.closed:
189 return true
190 default:
191 return false
192 }
193}
194
195// See the corresponding test in telemetry_test.go for a truth table.
196func ShouldReportTelemetryDisabled(recordedTelemetryEnabled *bool, telemetryEnabled bool) bool {

Callers 2

CloseMethod · 0.95
runSnapshotterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected