1.2.0 permalink Arrow_down_16x16

clojure-source-file?

clojure.contrib.find-namespaces

  • (clojure-source-file? file)
Returns true if file is a normal file with a .clj extension.

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

(defn clojure-source-file?
  "Returns true if file is a normal file with a .clj extension."
  [^File file]
  (and (.isFile file)
       (.endsWith (.getName file) ".clj")))
Vars in clojure.contrib.find-namespaces/clojure-source-file?: and defn
Used in 0 other vars

Comments top

No comments for clojure-source-file?. Log in to add a comment.