Search for namespace declarations in directories and JAR files.
Search for namespace declarations in directories and JAR files.
(clojure-sources-in-jar jar-file)
Returns a sequence of filenames ending in .clj or .cljc found in the JAR file.
Returns a sequence of filenames ending in .clj or .cljc found in the JAR file.
(find-clojure-sources-in-dir dir)
Searches recursively under dir for Clojure source files (.clj, .cljc). Returns a sequence of File objects, in breadth-first sort order.
Searches recursively under dir for Clojure source files (.clj, .cljc). Returns a sequence of File objects, in breadth-first sort order.
(find-namespaces files)
Searches a sequence of java.io.File objects (both directories and JAR files) for .clj or .cljc source files containing (ns...) declarations. Returns a sequence of the symbol names of the declared namespaces. Use with clojure.java.classpath to search Clojure's classpath.
Searches a sequence of java.io.File objects (both directories and JAR files) for .clj or .cljc source files containing (ns...) declarations. Returns a sequence of the symbol names of the declared namespaces. Use with clojure.java.classpath to search Clojure's classpath.
(find-namespaces-in-dir dir)
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the symbol names of the declared namespaces.
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the symbol names of the declared namespaces.
(find-namespaces-in-jarfile jarfile)
Searches the JAR file for Clojure source files containing (ns ...) declarations. Returns a sequence of the symbol names of the declared namespaces.
Searches the JAR file for Clojure source files containing (ns ...) declarations. Returns a sequence of the symbol names of the declared namespaces.
(find-ns-decls files)
Searches a sequence of java.io.File objects (both directories and JAR files) for .clj or .cljc source files containing (ns...) declarations. Returns a sequence of the unevaluated ns declaration forms. Use with clojure.java.classpath to search Clojure's classpath.
Searches a sequence of java.io.File objects (both directories and JAR files) for .clj or .cljc source files containing (ns...) declarations. Returns a sequence of the unevaluated ns declaration forms. Use with clojure.java.classpath to search Clojure's classpath.
(find-ns-decls-in-dir dir)
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the unevaluated ns declarations.
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the unevaluated ns declarations.
(find-ns-decls-in-jarfile jarfile)
Searches the JAR file for Clojure source files containing (ns ...) declarations; returns the unevaluated ns declarations.
Searches the JAR file for Clojure source files containing (ns ...) declarations; returns the unevaluated ns declarations.
(read-ns-decl-from-jarfile-entry jarfile entry-name)
Attempts to read a (ns ...) declaration from the named entry in the JAR file, and returns the unevaluated form. Returns nil if the read fails, or if the first form is not a ns declaration.
Attempts to read a (ns ...) declaration from the named entry in the JAR file, and returns the unevaluated form. Returns nil if the read fails, or if the first form is not a ns declaration.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close