Skip to content

Index of Module zip

mgorges edited this page Oct 1, 2014 · 3 revisions

Module: zip

The zip module provides minimal bindings for the libzip archive library.

Note Only reading is implemented at the moment

Functions in this module:

Function Short Description
(zip-open fname flags) open zip archive
(zip-get-num-entries fptr) get number of files in archive
(zip-name-locate fptr fname flags) get index of file by name
(zip-get-name fptr pos flags) get name of file by index
(zip-fopen fname idx flags) open file in zip archive for reading
(zip-fopen-index fname flags idx) open file in zip archive for reading
(zip-fread fptr u8vec) read from file
(zip-fclose fptr idx) close file in zip archive
(zip-close fptr flags) close zip archive
(zip-discard fptr) close zip archive and discard changes
(zip-dir zipfile) Get list of files in zip archive
(zipentry->u8vector zipfile filename) Load contents of file in zip archive as u8vector
(zipentry->file zipfile zipfilename . dstfile) Extract file from zip archive
Clone this wiki locally