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

Function getCliAuthCodeHashPrefix

web/src/app/onboard/_helpers.ts:26–28  ·  view source on GitHub ↗
(authCode: string)

Source from the content-addressed store, hash-verified

24}
25
26export function getCliAuthCodeHashPrefix(authCode: string): string {
27 return getCliAuthCodeHash(authCode).slice(0, 12)
28}
29
30export function getCliAuthCodeTokenIdentifier(authCodeToken: string): string {
31 return `${CLI_AUTH_CODE_TOKEN_IDENTIFIER_PREFIX}${authCodeToken}`

Callers 2

helpers.test.tsFile · 0.90
POSTFunction · 0.90

Calls 1

getCliAuthCodeHashFunction · 0.70

Tested by

no test coverage detected