(content: string)
| 242 | * Compute SHA-256 hash of content. |
| 243 | */ |
| 244 | export function computeContentHash(content: string): string { |
| 245 | return createHash('sha256').update(content).digest('hex') |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * Normalize file path to relative path from cwd for consistent tracking. |
no test coverage detected