(content: string)
| 269 | } |
| 270 | |
| 271 | function calculateContentHash(content: string): string { |
| 272 | return createHash("sha256").update(content, "utf8").digest("hex"); |
| 273 | } |
| 274 | |
| 275 | function truncateForSemanticDetection(text: string, maxLength: number): string { |
| 276 | if (text.length <= maxLength) return text; |
no outgoing calls
no test coverage detected