(file: File)
| 96 | * (.zip, .tar, .tar.gz/.tgz, .tar.bz2/.tbz2/.tbz, .tar.xz/.txz, .7z). |
| 97 | */ |
| 98 | export function isArchiveFile(file: File): boolean { |
| 99 | if (isSplatFilePath(file.name)) return false; |
| 100 | if (hasArchiveExtension(file.name)) return true; |
| 101 | return isArchiveMimeType(file.type); |
| 102 | } |
| 103 | |
| 104 | // ============================================================================ |
| 105 | // Archive Initialization |
nothing calls this directly
no test coverage detected