1.2.0 permalink Arrow_down_16x16

read-components

leiningen.uberjar

  • (read-components zipfile)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/uberjar.clj:12 top

(defn read-components [zipfile]
  (when-let [entry (.getEntry zipfile "META-INF/plexus/components.xml")]
    (-> (xml-> (xml-zip (xml/parse (.getInputStream zipfile entry)))
               (tag= :components))
        first first :content)))
Vars in leiningen.uberjar/read-components: -> defn first when-let
Used in 0 other vars

Comments top

No comments for read-components. Log in to add a comment.