Liking cljdoc? Tell your friends :D

cider.enrich-classpath


acceptable-repository?clj

(acceptable-repository? [_ {:keys [url] :as x}])
source

addclj

(add {:keys [repositories managed-dependencies]
      {:keys [classifiers]
       plugin-repositories :repositories
       :or {classifiers #{"sources" "javadoc"}}}
        :resolve-java-sources-and-javadocs
      :as project})
source

cache-filenameclj

source

choose-one-artifactclj

(choose-one-artifact deps managed-dependencies equivalent-deps)

Prevents Lein :pedantic faults by picking one source.

Prevents Lein `:pedantic` faults by picking one source.
sourceraw docstring

derivativesclj

(derivatives classifiers
             managed-dependencies
             memoized-resolve!
             [dep version & args :as original])
source

deserializeclj

(deserialize x)

Undoes the work of #'serialize.

Note that only certain vectors must be turned back into hashmaps - others must remain as-is.

Undoes the work of `#'serialize`.

Note that only certain vectors must be turned back into hashmaps - others must remain as-is.
sourceraw docstring

make-merge-fnclj

(make-merge-fn cache-atom)
source

matches-version?clj

(matches-version? deps [s-or-j-name s-or-j-version :as s-or-j])
source

maybe-add-exclusionsclj

source

maybe-add-exclusions*clj

(maybe-add-exclusions* x)
source

middlewareclj

(middleware {{:keys [failsafe timeout] :or {failsafe true timeout 215}}
               :resolve-java-sources-and-javadocs
             :as project}
            &
            args)
source

parallelism-factorclj

A reasonable factor for parallel Maven resolution, which tries to maximise efficiency while keeping thread count low which seems detrimental for both us and the Maven servers.

A reasonable factor for parallel Maven resolution, which tries to maximise efficiency
while keeping thread count low which seems detrimental for both us and the Maven servers.
sourceraw docstring

ppr-strclj

(ppr-str x)
source

resolve!clj

(resolve! cache-atom repositories classifiers x)
source

resolve-with-timeout!clj

(resolve-with-timeout! coordinates repositories)
source

safe-read-stringclj

(safe-read-string x)
source

serializeclj

(serialize x)

Turns any contained coll into a vector, sorting it.

This ensures that stable values are peristed to the file caches.

Turns any contained coll into a vector, sorting it.

This ensures that stable values are peristed to the file caches.
sourceraw docstring

timecljmacro

(time atom-obj expr)
source

wrap-failsafeclj

(wrap-failsafe f timeout)

Wraps f in a 'failsafe' way, protecting it against exceptions and overly slow executions.

Wraps `f` in a 'failsafe' way, protecting it against exceptions and overly slow executions.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close