Module loading and resolution.
Module loading and resolution.
(list-modules ctx)(load-modules ctx)(load-modules ctx opts)Updates context by loading all modules found under the modules root. The two argument version resolves module configs using feature flags provided in opts map.
Updates context by loading all modules found under the modules root. The two argument version resolves module configs using feature flags provided in opts map.
(lookup-module ctx module-key)(module-exists? ctx module-key)(modules ctx)(resolve-modules ctx opts)Updates context by resolving all loaded modules using feature flags provided in opts map.
Updates context by resolving all loaded modules using feature flags provided in opts map.
(root ctx)(sync-modules! {:keys [modules] :as ctx})Clones or pulls modules from git repositories.
If on local disk git repository for module is present, it will git pull
Otherwise it will create a new repository by git clone
Each module is defined as a map with keys :name - the name which will be used as the path locally :url - the git repository URL :tag - the branch to pull from
Clones or pulls modules from git repositories. If on local disk git repository for module is present, it will `git pull` Otherwise it will create a new repository by `git clone` Each module is defined as a map with keys :name - the name which will be used as the path locally :url - the git repository URL :tag - the branch to pull from
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |