Read and track namespace information from files
Read and track namespace information from files
(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.
File extensions for Clojure (JVM) files.
File extensions for Clojure (JVM) files.
(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.
File extensions for ClojureScript files.
File extensions for ClojureScript files.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close