Liking cljdoc? Tell your friends :D

clojure.tools.namespace.file

Read and track namespace information from files

Read and track namespace information from files
raw docstring

add-filesclj

(add-files tracker files)
(add-files tracker files read-opts)

Reads ns declarations from files; returns an updated dependency tracker with those files added. read-opts is passed through to tools.reader.

Reads ns declarations from files; returns an updated dependency
tracker with those files added. read-opts is passed through to
tools.reader.
sourceraw docstring

clojure-extensionsclj

File extensions for Clojure (JVM) files.

File extensions for Clojure (JVM) files.
sourceraw docstring

clojure-file?clj

(clojure-file? file)

Returns true if the java.io.File represents a file which will be read by the Clojure (JVM) compiler.

Returns true if the java.io.File represents a file which will be
read by the Clojure (JVM) compiler.
sourceraw docstring

clojurescript-extensionsclj

File extensions for ClojureScript files.

File extensions for ClojureScript files.
sourceraw docstring

clojurescript-file?clj

(clojurescript-file? file)

Returns true if the java.io.File represents a file which will be read by the ClojureScript compiler.

Returns true if the java.io.File represents a file which will be
read by the ClojureScript compiler.
sourceraw docstring

file-with-extension?clj

(file-with-extension? file extensions)

Returns true if the java.io.File represents a file whose name ends with one of the Strings in extensions.

Returns true if the java.io.File represents a file whose name ends
with one of the Strings in extensions.
sourceraw docstring

read-file-ns-declclj

(read-file-ns-decl file)
(read-file-ns-decl file read-opts)

Attempts to read a (ns ...) declaration from file, and returns the unevaluated form. Returns nil if ns declaration cannot be found. read-opts is passed through to tools.reader/read.

Attempts to read a (ns ...) declaration from file, and returns the
unevaluated form. Returns nil if ns declaration cannot be found.
read-opts is passed through to tools.reader/read.
sourceraw docstring

remove-filesclj

(remove-files tracker files)

Returns an updated dependency tracker with files removed. The files must have been previously added with add-files.

Returns an updated dependency tracker with files removed. The files
must have been previously added with add-files.
sourceraw docstring

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

× close