Skip to content

@pumpkin-plugins/bedrock-addon-manager API / packs/zip / listZip

Function: listZip() ​

listZip(source): ZipEntry[]

Defined in: packages/bedrock-addon-manager/src/packs/zip.ts:56

Lists the files in a zip archive from its central directory, reading only the end of the archive and the directory itself. ZIP64 archives are not supported.

Parameters ​

source ​

ByteSource

Returns ​

ZipEntry[]

Throws ​

When the archive has no readable central directory.

pumpkin-plugins documentation