(str: string)
| 7 | import { jsonParse, jsonStringify } from '../../utils/slowOperations.js' |
| 8 | |
| 9 | function 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) |
| 14 | const MAX_CACHED_REQUESTS = 5 |