MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / resetAnalyticsState

Function resetAnalyticsState

cli/src/utils/analytics.ts:113–119  ·  view source on GitHub ↗
(deps?: AnalyticsDeps)

Source from the content-addressed store, hash-verified

111
112/** Reset analytics state - for testing only */
113export function resetAnalyticsState(deps?: AnalyticsDeps) {
114 anonymousId = undefined
115 currentUserId = undefined
116 client = undefined
117 injectedDeps = deps
118 identified = false
119}
120
121export let identified: boolean = false
122let analyticsErrorLogger: AnalyticsErrorLogger | undefined

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected