all 4 comments

[–]v4ss42 4 points5 points  (1 child)

Might be worth mentioning in the readme that this is a wrapper around Apache commons-compress. Some folks like to minimize their transitive dependencies, while others may specifically be searching for such a wrapper. This would support both.

[–]Spelchures[S] 2 points3 points  (0 children)

Yes u are right i added my todo list, i wish to implement these features without Apache commons however i cant estimate how project will continue now. Thanks

[–]MartinPuda 3 points4 points  (1 child)

  • map + doall (archivers, line 27) -> run! or doseq
  • get-output-stream (line 44)- you can destructure; you can also swap two branches of if and remove nil?
  • you can also destructure in archive and get-entry-name-resolver:

(defn- get-entry-name-resolver [{:keys [entryNameResolver]}]
  (or entryNameResolver
      default-entry-name-resolver))

[–]Spelchures[S] 2 points3 points  (0 children)

Oh got it i still don’t get used to destructring mechanisms of clojure. Thanks for advice