MCPcopy
hub / github.com/codeaashu/claude-code / toTaggedId

Function toTaggedId

src/utils/taggedId.ts:51–54  ·  view source on GitHub ↗
(tag: string, uuid: string)

Source from the content-addressed store, hash-verified

49 * @returns Tagged ID string like "user_01PaGUP2rbg1XDh7Z9W1CEpd"
50 */
51export function toTaggedId(tag: string, uuid: string): string {
52 const n = uuidToBigInt(uuid)
53 return `${tag}_${VERSION}${base58Encode(n)}`
54}
55

Callers 1

getTelemetryAttributesFunction · 0.85

Calls 2

uuidToBigIntFunction · 0.85
base58EncodeFunction · 0.85

Tested by

no test coverage detected