Search for namespace declarations in directories and JAR files.
Search for namespace declarations in directories and JAR files.
Platform definition of file extensions and reader options for Clojure (.clj and .cljc) source files.
Platform definition of file extensions and reader options for Clojure (.clj and .cljc) source files.
Platform definition of file extensions and reader options for ClojureScript (.cljs and .cljc) source files.
Platform definition of file extensions and reader options for ClojureScript (.cljs and .cljc) source files.
(clojure-sources-in-jar jar-file)
DEPRECATED: replaced by sources-in-jar
Returns a sequence of filenames ending in .clj or .cljc found in the JAR file.
DEPRECATED: replaced by sources-in-jar Returns a sequence of filenames ending in .clj or .cljc found in the JAR file.
(find-clojure-sources-in-dir dir)
DEPRECATED: replaced by find-sources-in-dir
Searches recursively under dir for Clojure source files (.clj, .cljc). Returns a sequence of File objects, in breadth-first sort order.
DEPRECATED: replaced by find-sources-in-dir Searches recursively under dir for Clojure source files (.clj, .cljc). Returns a sequence of File objects, in breadth-first sort order.
(find-namespaces files)
(find-namespaces files platform)
Searches a sequence of java.io.File objects (both directories and JAR files) for platform 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.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches a sequence of java.io.File objects (both directories and JAR files) for platform 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. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(find-namespaces-in-dir dir)
(find-namespaces-in-dir dir platform)
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the symbol names of the declared namespaces.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the symbol names of the declared namespaces. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(find-namespaces-in-jarfile jarfile)
(find-namespaces-in-jarfile jarfile platform)
Searches the JAR file for platform source files containing (ns ...) declarations. Returns a sequence of the symbol names of the declared namespaces.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches the JAR file for platform source files containing (ns ...) declarations. Returns a sequence of the symbol names of the declared namespaces. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(find-ns-decls files)
(find-ns-decls files platform)
Searches a sequence of java.io.File objects (both directories and JAR files) for platform source files containing (ns...) declarations. Returns a sequence of the unevaluated ns declaration forms. Use with clojure.java.classpath to search Clojure's classpath.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches a sequence of java.io.File objects (both directories and JAR files) for platform source files containing (ns...) declarations. Returns a sequence of the unevaluated ns declaration forms. Use with clojure.java.classpath to search Clojure's classpath. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(find-ns-decls-in-dir dir)
(find-ns-decls-in-dir dir platform)
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the unevaluated ns declarations.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches dir recursively for (ns ...) declarations in Clojure source files; returns the unevaluated ns declarations. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(find-ns-decls-in-jarfile jarfile)
(find-ns-decls-in-jarfile jarfile platform)
Searches the JAR file for source files containing (ns ...) declarations; returns the unevaluated ns declarations.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches the JAR file for source files containing (ns ...) declarations; returns the unevaluated ns declarations. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(find-sources-in-dir dir)
(find-sources-in-dir dir platform)
Searches recursively under dir for source files. Returns a sequence of File objects, in breadth-first sort order.
Optional second argument is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Searches recursively under dir for source files. Returns a sequence of File objects, in breadth-first sort order. Optional second argument is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(read-ns-decl-from-jarfile-entry jarfile entry-name)
(read-ns-decl-from-jarfile-entry jarfile entry-name platform)
Attempts to read a (ns ...) declaration from the named entry in the JAR file, and returns the unevaluated form. Returns nil if read fails due to invalid syntax or if a ns declaration cannot be found.
Optional third argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Attempts to read a (ns ...) declaration from the named entry in the JAR file, and returns the unevaluated form. Returns nil if read fails due to invalid syntax or if a ns declaration cannot be found. Optional third argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
(sources-in-jar jar-file)
(sources-in-jar jar-file platform)
Returns a sequence of source file names found in the JAR file.
Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
Returns a sequence of source file names found in the JAR file. Optional second argument platform is either clj (default) or cljs, both defined in clojure.tools.namespace.find.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close