The namespace intended to be required by clindex users.
Use index-project!
for indexing any project and db
for retrieveing
datascript dbs by platform.
The namespace intended to be required by clindex users. Use `index-project!` for indexing any project and `db` for retrieveing datascript dbs by platform.
(db platform)
Returns the datascript db index for the platform
Returns the datascript db index for the `platform`
(index-project! base-dir {:keys [platforms extra-schema on-new-facts] :as opts})
Goes over all Clojure[Script] files (depending on platforms) inside base-dir
and index facts about the project
and all its dependencies.
Possible opts
are :
base-dir
project sources changesGoes over all Clojure[Script] files (depending on platforms) inside `base-dir` and index facts about the project and all its dependencies. Possible `opts` are : - :platforms (required), a set with the platforms to index, like #{:clj :cljs} - :extra-schema, a datascript schema that is going to be merged with clindex.schema/schema - :on-new-facts, a fn of one arg that will be called with new facts everytime a file inside `base-dir` project sources changes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close