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

Function useRefreshUsage

cli/src/hooks/use-usage-query.ts:120–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 * Hook to manually trigger a usage data refresh
119 */
120export function useRefreshUsage() {
121 return useCallback(() => {
122 invalidateActivityQuery(usageQueryKeys.current())
123 }, [])
124}

Callers

nothing calls this directly

Calls 1

invalidateActivityQueryFunction · 0.90

Tested by

no test coverage detected