(filePath: string)
| 13 | * Check if the file is in zip format (only supports .zip extension) |
| 14 | */ |
| 15 | export function isZipFormat(filePath: string): boolean { |
| 16 | const ext = path.extname(filePath).toLowerCase(); |
| 17 | return ext === ".zip"; |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Check if it's a multi-volume archive (supports ZIP, 7z, RAR formats) |