API for find-namespaces - clojure-contrib v1.3 (in development)

by Stuart Sierra

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.find-namespaces

Overview

Search for ns declarations in dirs, JARs, or CLASSPATH

Public Variables and Functions



clojure-source-file?

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (clojure-source-file? file)
Returns true if file is a normal file with a .clj extension.
Source


clojure-sources-in-jar

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (clojure-sources-in-jar jar-file)
Returns a sequence of filenames ending in .clj found in the JAR file.
Source


comment?

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (comment? form)
Returns true if form is a (comment ...)
Source


find-clojure-sources-in-dir

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (find-clojure-sources-in-dir dir)
Searches recursively under dir for Clojure source files (.clj).
Returns a sequence of File objects, in breadth-first sort order.
Source


find-namespaces-in-dir

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (find-namespaces-in-dir dir)
Searches dir recursively for (ns ...) declarations in Clojure
source files; returns the symbol names of the declared namespaces.
Source


find-namespaces-in-jarfile

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (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.
Source


find-namespaces-on-classpath

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (find-namespaces-on-classpath)
Searches CLASSPATH (both directories and JAR files) for Clojure
source files containing (ns ...) declarations.  Returns a sequence
of the symbol names of the declared namespaces.
Source


find-ns-decls-in-dir

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (find-ns-decls-in-dir dir)
Searches dir recursively for (ns ...) declarations in Clojure
source files; returns the unevaluated ns declarations.
Source


find-ns-decls-in-jarfile

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (find-ns-decls-in-jarfile jarfile)
Searches the JAR file for Clojure source files containing (ns ...)
declarations; returns the unevaluated ns declarations.
Source


find-ns-decls-on-classpath

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (find-ns-decls-on-classpath)
Searches CLASSPATH (both directories and JAR files) for Clojure
source files containing (ns ...) declarations.  Returns a sequence
of the unevaluated ns declaration forms.
Source


ns-decl?

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (ns-decl? form)
Returns true if form is a (ns ...) declaration.
Source


read-file-ns-decl

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (read-file-ns-decl file)
Attempts to read a (ns ...) declaration from file, and returns the
unevaluated form.  Returns nil if read fails, or if the first form
is not a ns declaration.
Source


read-ns-decl

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (read-ns-decl rdr)
Attempts to read a (ns ...) declaration from rdr, and returns the
unevaluated form.  Returns nil if read fails or if a ns declaration
cannot be found.  The ns declaration must be the first Clojure form
in the file, except for (comment ...)  forms.
Source


read-ns-decl-from-jarfile-entry

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (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.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.