Liking cljdoc? Tell your friends :D

nd-db.zip-index


zf->id-fnclj

(zf->id-fn zf & {:keys [id-fn deflate] :or {deflate true}})
source

zip-entry-meta->idx-reducerclj

(zip-entry-meta->idx-reducer id-fn)
source

zip-indexclj

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

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

× close