MCPcopy Create free account
hub / github.com/codeaashu/claude-code / hashString

Function hashString

src/services/api/dumpPrompts.ts:9–11  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

7import { jsonParse, jsonStringify } from '../../utils/slowOperations.js'
8
9function hashString(str: string): string {
10 return createHash('sha256').update(str).digest('hex')
11}
12
13// Cache last few API requests for ant users (e.g., for /issue command)
14const MAX_CACHED_REQUESTS = 5

Callers 1

dumpRequestFunction · 0.70

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected