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

Function getRetryCount

cli/src/hooks/use-activity-query.ts:607–609  ·  view source on GitHub ↗
(queryKey: readonly unknown[])

Source from the content-addressed store, hash-verified

605 */
606export const _retryTestHelpers = {
607 getRetryCount(queryKey: readonly unknown[]): number {
608 return retryCounts.get(serializeQueryKey(queryKey)) ?? 0
609 },
610 setRetryCount(queryKey: readonly unknown[], count: number): void {
611 retryCounts.set(serializeQueryKey(queryKey), count)
612 },

Callers

nothing calls this directly

Calls 2

serializeQueryKeyFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected