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

Function stableHash

web/src/lib/ad-providers/zeroclick.ts:35–37  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

33}
34
35function stableHash(value: string): string {
36 return createHash('sha256').update(value).digest('hex')
37}
38
39function extractLastUserMessageContent(content: string): string {
40 const regex = /<user_message>([\s\S]*?)<\/user_message>/gi

Callers 1

createZeroClickProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected