clojure-sources-in-jar

clojure.contrib.find-namespaces

  • (clojure-sources-in-jar jar-file)
Returns a sequence of filenames ending in .clj found in the JAR file.

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:88 top

(defn clojure-sources-in-jar
  "Returns a sequence of filenames ending in .clj found in the JAR file."
  [^JarFile jar-file]
  (filter #(.endsWith % ".clj") (jar/filenames-in-jar jar-file)))
Vars in clojure.contrib.find-namespaces/clojure-sources-in-jar: defn filter
Used in 0 other vars

Comments top

No comments for clojure-sources-in-jar. Log in to add a comment.