(value: string)
| 63 | } |
| 64 | |
| 65 | function sanitizeSegment(value: string): string { |
| 66 | const sanitized = value.replaceAll(/[^a-zA-Z0-9._-]/g, '_'); |
| 67 | return sanitized.length > 0 ? sanitized : 'unknown'; |
| 68 | } |
| 69 | |
| 70 | function readFileSha256(path: string): string | null { |
| 71 | try { |
no outgoing calls
no test coverage detected