(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 should the unique entry ID. If this should just be the filename, just write :filename Deflates per default. Add flag :deflate false to inhibit. Inhibit deflation and use :filename as id-fn to use zip entry filename as key. 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 should the unique entry ID. If this should just be the filename, just write :filename Deflates per default. Add flag :deflate false to inhibit. Inhibit deflation and use :filename as id-fn to use zip entry filename as key. Index is (as always) returned as a map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close