Resolve ordered iaddon.edn layers (lowest precedence first) into the selected plug set: merge → validate → lint → profile → drop-disabled → capability-select.
Resolve ordered iaddon.edn layers (lowest precedence first) into the selected plug set: merge → validate → lint → profile → drop-disabled → capability-select.
(apply-profile config profile)Partition plug libs by the named profile into {:kept #{lib} :excluded {lib reason}}.
Partition plug libs by the named profile into {:kept #{lib} :excluded {lib reason}}.
(drop-disabled plugs libs)Drop plugs whose :enabled? is explicitly false → {:kept #{lib} :dropped {lib :disabled}}.
Drop plugs whose :enabled? is explicitly false → {:kept #{lib} :dropped {lib :disabled}}.
(explain layers opts)Resolution as a flat report — :selected libs, :dropped reasons, :provenance — or the error.
Resolution as a flat report — :selected libs, :dropped reasons, :provenance — or the error.
(plug-capabilities plug)Every capability a plug claims — singular :capability ∪ plural :capabilities.
Every capability a plug claims — singular :capability ∪ plural :capabilities.
(plug-provenance layers)Per-plug field → the layer id that last set it (::layer = last layer touching the plug).
Per-plug field → the layer id that last set it (::layer = last layer touching the plug).
(resolve-config layers {:keys [profile]})Resolve layers → (r/ok {:config :selected :dropped :provenance}) or the first (r/err ...) from schema / lint / capability selection.
Resolve layers → (r/ok {:config :selected :dropped :provenance}) or the first
(r/err ...) from schema / lint / capability selection.(select-capabilities config kept)Resolve capability contention among kept libs: drop providers of :permit-false capabilities, then per contended capability pick the :prefer winner or fail. (r/ok {:selected #{lib} :dropped {lib reason}}) | (r/err :iaddon/capability-conflict ...).
Resolve capability contention among kept libs: drop providers of :permit-false
capabilities, then per contended capability pick the :prefer winner or fail.
(r/ok {:selected #{lib} :dropped {lib reason}}) | (r/err :iaddon/capability-conflict ...).(source-family coord)Coord family keyword (:local | :git | :mvn), or nil for an unknown coord.
Coord family keyword (:local | :git | :mvn), or nil for an unknown coord.
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 |