Zip.count readonly property



Get the number of entries in the zip archive.

Example

-- prints the total number of entries from a zip archive local compression = require "compression" -- check parameters : the archive specified as argument local archive = arg[1] or error("no archive specified") -- open the archive local z = compression.Zip(archive) -- z.count property is equivalent to #z print(archive.." has a total of "..z.count.." entries")