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