MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / isZipFormat

Function isZipFormat

daemon/src/service/seven_zip_service.ts:15–18  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

13 * Check if the file is in zip format (only supports .zip extension)
14 */
15export 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)

Callers 1

tryUnzipFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected