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

Function shouldUnclaim

web/src/app/api/auth/cli/logout/_helpers.ts:1–9  ·  view source on GitHub ↗
(
  fingerprintMatchFound: boolean,
  storedHash: string | null | undefined,
  providedHash: string,
)

Source from the content-addressed store, hash-verified

1export function shouldUnclaim(
2 fingerprintMatchFound: boolean,
3 storedHash: string | null | undefined,
4 providedHash: string,
5): boolean {
6 return (
7 fingerprintMatchFound || (storedHash != null && storedHash === providedHash)
8 )
9}

Callers 2

postLogoutFunction · 0.90
helpers.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected