Liking cljdoc? Tell your friends :D

clj-anki.zip

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.
raw docstring

compress-files!clj

(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.
sourceraw docstring

extract-file-from-zip!clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close