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

Function getGeneration

cli/src/hooks/use-activity-query.ts:181–183  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

179 generations.set(key, (generations.get(key) ?? 0) + 1)
180}
181function getGeneration(key: string) {
182 return generations.get(key) ?? 0
183}
184
185function clearRetryTimeout(key: string) {
186 const t = retryTimeouts.get(key)

Callers 1

useActivityQueryFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected