zip-file : path-string? path : path-string? timestamp : (or/c #f exact-integer?) = #f
The given paths are all expected to be relative path names of existing directories and files (i.e., relative to the current directory). If a nested path is provided as a path, its ancestor directories are also added to the resulting zip file, up to the current directory (using pathlist-closure).
Files are packaged as usual for zip files, including permission bits for both Windows and Unix (including Mac OS X). The permission bits are determined by file-or-directory-permissions, which does not preserve the distinction between owner/group/other permissions. Also, symbolic links are always followed.
If timestamp is not #f, it is used as the modification date for each file, instead of the result of file-or-directory-modify-seconds.
(zip->output paths [ out #:timestamp timestamp]) → void? paths : (listof path-string?) out : output-port? = (current-output-port) timestamp : (or/c #f exact-integer?) = #f