Liking cljdoc? Tell your friends :D

clojure.tools.namespace.find

Search for namespace declarations in directories and JAR files.

Search for namespace declarations in directories and JAR files.
raw docstring

cljclj

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.
sourceraw docstring

cljsclj

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.
sourceraw docstring

clojure-sources-in-jarcljdeprecated

(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.
sourceraw docstring

find-clojure-sources-in-dircljdeprecated

(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.
sourceraw docstring

find-namespacesclj

(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.
sourceraw docstring

find-namespaces-in-dirclj

(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.
sourceraw docstring

find-namespaces-in-jarfileclj

(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.
sourceraw docstring

find-ns-declsclj

(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.
sourceraw docstring

find-ns-decls-in-dirclj

(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. The symbol name in the returned ns declaration will contain metadata for the corresponding directory and located file within at keys :dir and :file.

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.
The symbol name in the returned ns declaration will contain metadata
for the corresponding directory and located file within at keys
:dir and :file.

Optional second argument platform is either clj (default) or cljs,
both defined in clojure.tools.namespace.find.
sourceraw docstring

find-ns-decls-in-jarfileclj

(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.
sourceraw docstring

find-sources-in-dirclj

(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.
sourceraw docstring

read-ns-decl-from-jarfile-entryclj

(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. The symbol name in the returned ns declaration will contain metadata for the corresponding jar filename and located file within at keys :jar and :file.

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.
The symbol name in the returned ns declaration will contain metadata
for the corresponding jar filename and located file within at keys
:jar and :file.

Optional third argument platform is either clj (default) or cljs,
both defined in clojure.tools.namespace.find.
sourceraw docstring

sources-in-jarclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close