A helper library for working with ZIP files, which Anki stores everything with. Super-simple, little directory support. Completely imperative code ahoy.
A helper library for working with ZIP files, which Anki stores everything with. Super-simple, little directory support. Completely imperative code ahoy.
(compress-files! file-list outfile)
Given a list of maps of {:file :name} to compress, creates a ZIP file at outfile. For each file, :name is the name in the ZIP file and :file is the file object.
Given a list of maps of {:file :name} to compress, creates a ZIP file at outfile. For each file, :name is the name in the ZIP file and :file is the file object.
(extract-file-from-zip! zipfile file & [outfile])
Given a zipfile and the name of a file in it, this function will either extract the file to the specified outfile location or to the current folder as the same name as in the ZIP if nothing is specified.
Given a zipfile and the name of a file in it, this function will either extract the file to the specified outfile location or to the current folder as the same name as in the ZIP if nothing is specified.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close