Skeudenn / main/services/cbz-archive / openZip
Function: openZip() ​
openZip(
filePath):StreamZipAsync
Defined in: src/main/services/cbz-archive.ts:18
Opens a ZIP for reading. Entry names are only ever used as keys into the archive, never as filesystem paths, so node-stream-zip's "Malicious entry" check (aimed at extraction) is skipped: archives made on Windows commonly hold names like Folder/Folder\page.jpg, which it refuses.
Parameters ​
filePath ​
string
Returns ​
StreamZipAsync