find-ns-decls-in-jarfile

clojure.contrib.find-namespaces

  • (find-ns-decls-in-jarfile jarfile)
Searches the JAR file for Clojure source files containing (ns ...)
declarations; returns the unevaluated ns declarations.

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 clojure/contrib/find_namespaces.clj:104 top

(defn find-ns-decls-in-jarfile
  "Searches the JAR file for Clojure source files containing (ns ...)
  declarations; returns the unevaluated ns declarations."
  [^JarFile jarfile]
  (filter identity
          (map #(read-ns-decl-from-jarfile-entry jarfile %)
               (clojure-sources-in-jar jarfile))))
Vars in clojure.contrib.find-namespaces/find-ns-decls-in-jarfile: defn filter identity map
Used in 0 other vars

Comments top

No comments for find-ns-decls-in-jarfile. Log in to add a comment.