(changes: unknown)
| 507 | }; |
| 508 | |
| 509 | const getPatchFiles = (changes: unknown): string[] => { |
| 510 | const record = asRecord(changes); |
| 511 | if (!record) return []; |
| 512 | return Object.keys(record).filter((file) => file.length > 0); |
| 513 | }; |
| 514 | |
| 515 | const summarizeFiles = (files: string[]): string | null => { |
| 516 | if (files.length === 0) return null; |
nothing calls this directly
no test coverage detected