* Check if a file is likely binary based on extension
(filePath: string)
| 929 | * Check if a file is likely binary based on extension |
| 930 | */ |
| 931 | function isBinaryByExtension(filePath: string): boolean { |
| 932 | const ext = path.extname(filePath).toLowerCase() |
| 933 | return BINARY_EXTENSIONS.has(ext) |
| 934 | } |
| 935 | |
| 936 | /** |
| 937 | * Parse git diff --numstat output to get file info with binary detection |
no test coverage detected