(zip-index & {:keys [filename id-fn] :as opts})
Creates an index over the content of a zip file. id-fn takes the unzipped bytes of the zip entry as parameter, and returns the unique entry ID. Deflates per default. Add flag :deflate false to inhibit. Inhibit deflation and use :filename as id-fn to use zip entry filename as ID. Index is (as always) returned as a map
Creates an index over the content of a zip file. id-fn takes the unzipped bytes of the zip entry as parameter, and returns the unique entry ID. Deflates per default. Add flag :deflate false to inhibit. Inhibit deflation and use :filename as id-fn to use zip entry filename as ID. Index is (as always) returned as a map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close