(file-add {:keys [index-ref] :as cp} source-path file)
(file-remove {:keys [index-ref] :as cp} source-path file)
(file-update {:keys [index-ref] :as cp} source-path file)
(find-fs-resources cp root)
(find-fs-resources* cp root)
(find-jar-resources {:keys [manifest-cache-dir] :as cp} jar-file)
(find-jar-resources* cp file)
(find-js-resource {:keys [index-ref] :as cp} require)
(find-js-resource cp {:keys [resource-name] :as require-from} require)
(find-resource-by-file {:keys [index-ref] :as cp} file)
returns nil if file is not registered on the classpath
returns nil if file is not registered on the classpath
(find-resource-by-name {:keys [index-ref] :as cp} name)
returns nil if name is not on the classpath (or was filtered)
returns nil if name is not on the classpath (or was filtered)
(find-resource-for-provide {:keys [index-ref] :as cp} provide-sym)
(find-resources cp file)
(find-resources-using-ns {:keys [index-ref] :as cp} ns-sym)
(get-all-resources {:keys [index-ref] :as cp})
(get-classpath)
(get-classpath-entries {:keys [index-ref] :as cp})
(get-deps-externs {:keys [index-ref] :as cp})
(get-provided-names {:keys [index-ref] :as cp})
(get-source-provides {:keys [index-ref] :as cp})
returns the set of provided symbols from sources not in jars
returns the set of provided symbols from sources not in jars
(index-classpath cp)
(index-classpath {:keys [index-ref] :as cp} paths)
(index-file-add index source-path file)
(index-file-remove index source-path file)
(index-path* index path)
(index-path-merge state
source-path
{:keys [externs foreign-libs resources] :as dir-contents})
(index-rc-add state {:keys [resource-name file provides] :as rc})
(index-rc-merge index {:keys [type ns resource-name provides url] :as rc})
(index-rc-merge-js index
{:keys [type ns resource-name provides url file] :as rc})
(index-rc-remove index resource-name)
(inspect-cljs {:keys [url resource-name macros-ns] :as rc})
looks at the first form in a .cljs file, analyzes it if (ns ...) and returns the updated resource with ns-related infos
looks at the first form in a .cljs file, analyzes it if (ns ...) and returns the updated resource with ns-related infos
(inspect-js {:keys [compiler] :as state} {:keys [resource-name url] :as rc})
(inspect-resource state {:keys [resource-name url] :as rc})
(inspect-resources cp {:keys [resources] :as contents})
(is-same-resource? a b)
(make-fs-resource file name)
(pom-info-for-jar file)
(process-deps-cljs cp source-path resources)
(process-root-contents cp source-path root-contents)
(service? x)
(set-output-name {:keys [type ns resource-name] :as rc})
sets the :output-name for each given resource demo/foo.cljs becomes demo.foo.js JS inputs are named to match their name generated by closure to avoid conclicts demo/foo.js becomes module$demo$foo.js
sets the :output-name for each given resource demo/foo.cljs becomes demo.foo.js JS inputs are named to match their name generated by closure to avoid conclicts demo/foo.js becomes module$demo$foo.js
(should-exclude-classpath exclude file)
(should-ignore-resource? {:keys [ignore-patterns] :as state} resource-name)
(start cache-root)
(stop cp)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close