Public Vars

Back

zip (clj)

(source)

function

(zip zip-file entries) (zip zip-file entries opts)
Zips entry or entries into zip-file. An entry may be a file or directory. Directories are included recursively and their names are preserved in the zip file. Currently only accepts relative entries. Options: * `:root`: directory which will be elided in zip. E.g.: `(fs/zip ["src"] {:root "src"})` * `:path-fn`: a single-arg function from file system path to zip entry path.

Examples