Liking cljdoc? Tell your friends :D

wagoe.ai.shell.test-check

What gen-tests shows the model, and the checks its answer must pass before it is written (BOU-572): rc-4 wrote a namespace with invented protocol names that stopped the whole suite from loading.

What gen-tests shows the model, and the checks its answer must pass before
it is written (BOU-572): rc-4 wrote a namespace with invented protocol names
that stopped the whole suite from loading.
raw docstring

check-errorsclj

(check-errors text lint-opts)

Errors in generated text, or nil. Read and linted only: nothing the model wrote runs before the user has the file (BOU-572 review).

Errors in generated `text`, or nil. Read and linted only: nothing the model
wrote runs before the user has the file (BOU-572 review).
sourceraw docstring

lint-errorsclj

(lint-errors text {:keys [root filename context-files]})

clj-kondo's warnings and errors for text as the file filename, run from root the way bb check runs it: the :clj-kondo alias and the project's .clj-kondo config, with unresolved vars and namespaces raised to errors. context-files are linted alongside so protocol and arity checks can see the definitions; their own findings are dropped. The cache is off so the result depends on those files, not on what an earlier lint happened to leave behind. Returns [line], or nil when clean.

clj-kondo's warnings and errors for `text` as the file `filename`, run from
`root` the way `bb check` runs it: the :clj-kondo alias and the project's
.clj-kondo config, with unresolved vars and namespaces raised to errors. `context-files` are linted alongside so protocol and
arity checks can see the definitions; their own findings are dropped. The
cache is off so the result depends on those files, not on what an earlier
lint happened to leave behind. Returns [line], or nil when clean.
sourceraw docstring

missing-namespacesclj

(missing-namespaces text)

One error per namespace text requires that is not on the classpath. clj-kondo cannot tell an invented namespace from one it has not seen.

One error per namespace `text` requires that is not on the classpath.
clj-kondo cannot tell an invented namespace from one it has not seen.
sourceraw docstring

namespace-apiclj

(namespace-api ns-sym)

{:ns :protocols [{:name :methods [{:name :arglists}]}] :vars [{:name :arglists}]} for ns-sym, loaded, or {:ns :error} when it does not load.

{:ns :protocols [{:name :methods [{:name :arglists}]}] :vars [{:name :arglists}]}
for `ns-sym`, loaded, or {:ns :error} when it does not load.
sourceraw docstring

read-ns-formclj

(read-ns-form source)

The ns form at the top of source, or nil.

The ns form at the top of `source`, or nil.
sourceraw docstring

required-namespacesclj

(required-namespaces source)

The namespaces source requires.

The namespaces `source` requires.
sourceraw docstring

source-fileclj

(source-file ns-sym)

A path clj-kondo can read for ns-sym's source, or nil. A source inside a jar is copied out to a temporary file. Clojure's own namespaces are left out: kondo knows them, and clojure.core is large.

A path clj-kondo can read for `ns-sym`'s source, or nil. A source inside a
jar is copied out to a temporary file. Clojure's own namespaces are left
out: kondo knows them, and clojure.core is large.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close