(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |